Files
weedfs/weedmst.service

21 lines
354 B
Desktop File

[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