mscs/mscs.service
2015-08-16 18:17:21 +02:00

16 lines
357 B
Desktop File

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