mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
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
This commit is contained in:
parent
f3981cf6d4
commit
44af5bd8f5
15
init/msm.service
Normal file
15
init/msm.service
Normal file
@ -0,0 +1,15 @@
|
||||
[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
|
||||
|
Loading…
Reference in New Issue
Block a user