[iortcw] 04/08: Don't run the systemd service as root!

Simon McVittie smcv at debian.org
Fri Feb 6 11:13:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository iortcw.

commit fa317aaecc9cd9c798f7e6ec9c6491ad28c7750d
Author: Simon McVittie <smcv at debian.org>
Date:   Thu Jan 22 09:47:53 2015 +0000

    Don't run the systemd service as root!
---
 debian/wolfded at .service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/wolfded at .service b/debian/wolfded at .service
index 28d90db..5370187 100644
--- a/debian/wolfded at .service
+++ b/debian/wolfded at .service
@@ -6,6 +6,7 @@ After=network.target
 ConditionPathExists=/etc/rtcw-server/%i.cfg
 
 [Service]
+User=rtcw-server
 Environment=HOME=/var/games/rtcw-server/%i.home
 Environment=XDG_DATA_HOME=/var/games/rtcw-server/%i.home
 Environment=XDG_CACHE_HOME=/var/games/rtcw-server/%i.home/cache

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list