mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-14 22:38:18 -07:00
19 lines
427 B
Desktop File
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
|