diff options
author | 2011-12-10 09:30:34 +0000 | |
---|---|---|
committer | 2011-12-10 09:30:34 +0000 | |
commit | 3196e40530f93ee77a6bd90fd7fbf07a3bed2b9c (patch) | |
tree | 64fa76783672c80827e1b238849ac8964c29d9f4 /net-misc/sobby/files | |
parent | enable {bi,multi}arch support for ppc/x86 targets too #349405 by Denis Kagano... (diff) | |
download | historical-3196e40530f93ee77a6bd90fd7fbf07a3bed2b9c.tar.gz historical-3196e40530f93ee77a6bd90fd7fbf07a3bed2b9c.tar.bz2 historical-3196e40530f93ee77a6bd90fd7fbf07a3bed2b9c.zip |
Update init script to use -u/-g rather than --chuid, thanks to Agostino Sarubbo (ago) <ago@autistici.org>
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'net-misc/sobby/files')
-rwxr-xr-x | net-misc/sobby/files/sobby-init-0.4.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/sobby/files/sobby-init-0.4.7 b/net-misc/sobby/files/sobby-init-0.4.7 index ca3ce994e062..7e553485f951 100755 --- a/net-misc/sobby/files/sobby-init-0.4.7 +++ b/net-misc/sobby/files/sobby-init-0.4.7 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/files/sobby-init-0.4.7,v 1.1 2010/06/18 07:50:25 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/files/sobby-init-0.4.7,v 1.2 2011/12/10 09:30:34 xarthisius Exp $ depend() { use avahi @@ -10,7 +10,7 @@ depend() { start() { ebegin "Starting obby dedicated server" start-stop-daemon -b --quiet --start --make-pidfile \ - --pidfile /var/run/sobby.pid --chuid ${SOBBY_USER}:${SOBBY_GROUP} \ + --pidfile /var/run/sobby.pid -u ${SOBBY_USER} -g ${SOBBY_GROUP} \ --exec /usr/bin/sobby -- ${SOBBY_OPTS} eend $? "Failed to start sobby" } |