aboutsummarylogtreecommitdiffstats
path: root/minecraftd-backup.service
diff options
context:
space:
mode:
authorGordian Edenhofer2016-02-29 21:35:38 +0100
committerGordian Edenhofer2016-02-29 21:35:38 +0100
commitf312efaac7a9714c82cd506027c342a41e66e211 (patch)
tree6c3e41efc24e49cda37190da87854f02c654b45d /minecraftd-backup.service
parent8a419426041fecec19b4a9b97bcdaf8c0bb9a6be (diff)
downloadaur-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-backup.service')
-rw-r--r--minecraftd-backup.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/minecraftd-backup.service b/minecraftd-backup.service
index ff2085e78543..20fae7036e5a 100644
--- a/minecraftd-backup.service
+++ b/minecraftd-backup.service
@@ -4,7 +4,10 @@ After=local-fs.target
[Service]
Type=forking
+EnvironmentFile=/etc/conf.d/minecraft
ExecStart=/usr/bin/minecraftd backup
+USER=$MC_USER
+GROUP=$MC_USER
[Install]
WantedBy=multi-user.target