diff options
author | Gordian Edenhofer | 2016-02-29 21:35:38 +0100 |
---|---|---|
committer | Gordian Edenhofer | 2016-02-29 21:35:38 +0100 |
commit | f312efaac7a9714c82cd506027c342a41e66e211 (patch) | |
tree | 6c3e41efc24e49cda37190da87854f02c654b45d /minecraftd.service | |
parent | 8a419426041fecec19b4a9b97bcdaf8c0bb9a6be (diff) | |
download | aur-f312efaac7a9714c82cd506027c342a41e66e211.tar.gz |
Upgpkg: 1.9-1
Add suspending capability for the minecraft server through the control
script and an additional screen session which listens on the same port
with netcat.
* Update .conf accordingly
* IDLE_SERVER can be either true or false
* The default is no idle server
* Choose an available netcat flavor automatically
Variable renaming in .install.
Notify the user of kept directories on post_remove and alter ownership
to root before removing the game user.
Print error messages to stderr.
Diffstat (limited to 'minecraftd.service')
-rw-r--r-- | minecraftd.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/minecraftd.service b/minecraftd.service index 17e18af411ed..45bae6edf314 100644 --- a/minecraftd.service +++ b/minecraftd.service @@ -4,8 +4,11 @@ After=local-fs.target network.target [Service] Type=forking +EnvironmentFile=/etc/conf.d/minecraft ExecStart=/usr/bin/minecraftd start ExecStop=/usr/bin/minecraftd stop +USER=$MC_USER +GROUP=$MC_USER [Install] WantedBy=multi-user.target |