1 |
nyhm 09/10/01 16:18:22 |
2 |
|
3 |
Modified: games-mods.eclass |
4 |
Log: |
5 |
run servers as ${GAMES_USER_DED}:${GAMES_GROUP} |
6 |
|
7 |
Revision Changes Path |
8 |
1.27 eclass/games-mods.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.27&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.27&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?r1=1.26&r2=1.27 |
13 |
|
14 |
Index: games-mods.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v |
17 |
retrieving revision 1.26 |
18 |
retrieving revision 1.27 |
19 |
diff -u -r1.26 -r1.27 |
20 |
--- games-mods.eclass 1 Oct 2009 16:03:40 -0000 1.26 |
21 |
+++ games-mods.eclass 1 Oct 2009 16:18:22 -0000 1.27 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2009 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.26 2009/10/01 16:03:40 nyhm Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.27 2009/10/01 16:18:22 nyhm Exp $ |
27 |
|
28 |
# Variables to specify in an ebuild which uses this eclass: |
29 |
# GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" |
30 |
@@ -399,7 +399,7 @@ |
31 |
start() { |
32 |
ebegin "Starting ${GAME_TITLE} ${MOD_NAME} dedicated server" |
33 |
start-stop-daemon --start --quiet --background --chuid \\ |
34 |
- ${GAMES_USER_DED}:games --env HOME="${GAMES_PREFIX}" --exec \\ |
35 |
+ ${GAMES_USER_DED}:${GAMES_GROUP} --env HOME="${GAMES_PREFIX}" --exec \\ |
36 |
${GAMES_BINDIR}/${GAME_EXE}-${MOD_DIR}-ded -- \\ |
37 |
\${${GAME_EXE}_${MOD_DIR}_opts} |
38 |
eend \$? |