[wesnoth] 01/01: run daemon as user nobody (mirrors what's done in the sysvinit script)

Vincent Cheng vcheng at moszumanska.debian.org
Tue Apr 28 10:06:45 UTC 2015


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

vcheng pushed a commit to branch master
in repository wesnoth.

commit 4370e408c239a1b038f9bb7d2ff91a55c043c31f
Author: Vincent Cheng <vcheng at debian.org>
Date:   Tue Apr 28 03:05:34 2015 -0700

    run daemon as user nobody (mirrors what's done in the sysvinit script)
---
 debian/wesnoth-1.12-server.service      | 1 +
 debian/wesnoth-BRANCH-server.service.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/wesnoth-1.12-server.service b/debian/wesnoth-1.12-server.service
index 4dd443b..5e4fdac 100644
--- a/debian/wesnoth-1.12-server.service
+++ b/debian/wesnoth-1.12-server.service
@@ -4,6 +4,7 @@ After=network.target
 
 [Service]
 ExecStart=/usr/games/wesnothd-1.12
+User=nobody
 
 [Install]
 WantedBy=multi-user.target
diff --git a/debian/wesnoth-BRANCH-server.service.in b/debian/wesnoth-BRANCH-server.service.in
index 8972b76..2701e70 100644
--- a/debian/wesnoth-BRANCH-server.service.in
+++ b/debian/wesnoth-BRANCH-server.service.in
@@ -4,6 +4,7 @@ After=network.target
 
 [Service]
 ExecStart=/usr/games/wesnothd-BRANCH
+User=nobody
 
 [Install]
 WantedBy=multi-user.target

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



More information about the Pkg-games-commits mailing list