Добавить weedmst.service

This commit is contained in:
2026-01-12 23:51:56 +03:00
parent dc923839d9
commit 97ad394d20

20
weedmst.service Normal file
View File

@@ -0,0 +1,20 @@
[Unit]
Description=SeaweedFS Master Server
After=network.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/weed master -options=/etc/seaweedfs/master.conf
WorkingDirectory=/usr/local/bin
SyslogIdentifier=weedfs-master
#Restart=always
Restart=on-failure
RestartSec=60
StartLimitInterval=0
[Install]
WantedBy=multi-user.target