mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
44af5bd8f5
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
16 lines
278 B
Desktop File
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
|
|
|