msm/init/msm.service
Max Bruckner 44af5bd8f5 added systemd service file
just put msm.service in /etc/systemd/system/ and make sure you have msm
accessible via /usr/local/bin

enable:  systemctl enable msm.service
disable: systemctl disable msm.service
start:   systemctl start msm.service
stop:    systemctl stop msm.service
2013-10-03 14:52:53 +02:00

16 lines
278 B
Desktop File

[Unit]
Description=Minecraft Server Manager
Requires=network.target
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/msm start
ExecStop=/usr/local/bin/msm stop
ExecReload=/usr/local/bin/msm restart
[Install]
WantedBy=multi-user.target