mckaygerhard
dad9ed70f3
* pass game id and game world name to daemons scripts, cos now cannot be pointed in config file.. * fix dameon scripts invocations
17 lines
413 B
Desktop File
17 lines
413 B
Desktop File
[Unit]
|
|
Description=multicraftserver daemon for %i.conf by MinenuX
|
|
Documentation=man:multicraftserver(6)
|
|
After=network.target
|
|
RequiresMountsFor=/var/games/multicraft
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
User=multicraft
|
|
Group=games
|
|
ExecStart=/usr/games/multicraftserver --world %i --config /etc/multicraft/%i.conf --logfile /var/log/multicraft/%i.log --gameid %i
|
|
StandardOutput=null
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|