summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-10-01 16:18:22 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-10-01 16:18:22 +0000
commit0fd991700ec40bf80a8fc82a8d08b6519c55957e (patch)
tree5207f7bb6d48cbfe4bf37649d63ff07ae7e5cd4e /eclass/games-mods.eclass
parentStable on alpha, bug #284790 (diff)
downloadgentoo-2-0fd991700ec40bf80a8fc82a8d08b6519c55957e.tar.gz
gentoo-2-0fd991700ec40bf80a8fc82a8d08b6519c55957e.tar.bz2
gentoo-2-0fd991700ec40bf80a8fc82a8d08b6519c55957e.zip
run servers as ${GAMES_USER_DED}:${GAMES_GROUP}
Diffstat (limited to 'eclass/games-mods.eclass')
-rw-r--r--eclass/games-mods.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass
index bac789a882ad..c9ac7c46bbf8 100644
--- a/eclass/games-mods.eclass
+++ b/eclass/games-mods.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.26 2009/10/01 16:03:40 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.27 2009/10/01 16:18:22 nyhm Exp $
# Variables to specify in an ebuild which uses this eclass:
# GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-"
@@ -399,7 +399,7 @@ depend() {
start() {
ebegin "Starting ${GAME_TITLE} ${MOD_NAME} dedicated server"
start-stop-daemon --start --quiet --background --chuid \\
- ${GAMES_USER_DED}:games --env HOME="${GAMES_PREFIX}" --exec \\
+ ${GAMES_USER_DED}:${GAMES_GROUP} --env HOME="${GAMES_PREFIX}" --exec \\
${GAMES_BINDIR}/${GAME_EXE}-${MOD_DIR}-ded -- \\
\${${GAME_EXE}_${MOD_DIR}_opts}
eend \$?