mscs/mscs.service
2018-06-05 14:25:24 -07:00

19 lines
427 B
Desktop File

[Unit]
Description=Minecraft Server Control Script
Documentation=https://github.com/MinecraftServerControl/mscs
Requires=network.target
After=network.target
[Service]
User=minecraft
Group=minecraft
Environment="PATH=/usr/local/bin:/usr/bin:/bin"
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