mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 14:58:18 -07:00
19 lines
436 B
Desktop File
19 lines
436 B
Desktop File
[Unit]
|
|
Description=Minecraft Server Control Script
|
|
Documentation=https://github.com/sandain/MinecraftServerControlScript
|
|
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
|