Добавить weedmst.service
This commit is contained in:
20
weedmst.service
Normal file
20
weedmst.service
Normal 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
|
||||
Reference in New Issue
Block a user