mscs/mscs.service
2015-03-03 19:37:17 -07:00

16 lines
339 B
Desktop File

[Unit]
Description=Minecraft Server Control Script
Documentation=https://github.com/sandain/MinecraftServerControlScript
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/bin/mscs start
ExecStop=/usr/bin/mscs stop
ExecReload=/usr/bin/mscs restart
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target