summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-12-10 09:30:34 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-12-10 09:30:34 +0000
commit788afc4c17fbb124185bc92048493184e410d0bb (patch)
treef3fa255db4fb259df83d55895717aff5af0b6119
parentenable {bi,multi}arch support for ppc/x86 targets too #349405 by Denis Kagano... (diff)
downloadgentoo-2-788afc4c17fbb124185bc92048493184e410d0bb.tar.gz
gentoo-2-788afc4c17fbb124185bc92048493184e410d0bb.tar.bz2
gentoo-2-788afc4c17fbb124185bc92048493184e410d0bb.zip
Update init script to use -u/-g rather than --chuid, thanks to Agostino Sarubbo (ago) <ago@autistici.org>
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
-rw-r--r--net-misc/sobby/ChangeLog8
-rwxr-xr-xnet-misc/sobby/files/sobby-init-0.4.76
2 files changed, 9 insertions, 5 deletions
diff --git a/net-misc/sobby/ChangeLog b/net-misc/sobby/ChangeLog
index e387ffbf645b..14007b03a714 100644
--- a/net-misc/sobby/ChangeLog
+++ b/net-misc/sobby/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/sobby
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/ChangeLog,v 1.24 2010/06/18 07:50:26 xarthisius Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/ChangeLog,v 1.25 2011/12/10 09:30:34 xarthisius Exp $
+
+ 10 Dec 2011; Kacper Kowalik <xarthisius@gentoo.org> files/sobby-init-0.4.7:
+ Update init script to use -u/-g rather than --chuid, thanks to Agostino
+ Sarubbo (ago) <ago@autistici.org>
*sobby-0.4.7 (18 Jun 2010)
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"
}