summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2011-12-17 04:41:25 +0000
committerNathan Phillip Brink <binki@gentoo.org>2011-12-17 04:41:25 +0000
commitacd1c6122286dc00863e9f9aed21a0a5faf1be47 (patch)
tree9fc8c9d32e47b960de93ce06d98f8ca454ebf1d6 /net-irc
parentavoid multiple inclusions when possible to speed caching up (diff)
downloadgentoo-2-acd1c6122286dc00863e9f9aed21a0a5faf1be47.tar.gz
gentoo-2-acd1c6122286dc00863e9f9aed21a0a5faf1be47.tar.bz2
gentoo-2-acd1c6122286dc00863e9f9aed21a0a5faf1be47.zip
Use --user option instead of deprecated --chuid option for start-stop-daemon, reported by ago.
(Portage version: 2.2.0_alpha78-r1/cvs/Linux x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/ircservices/ChangeLog7
-rw-r--r--net-irc/ircservices/files/ircservices.init.d6
-rw-r--r--net-irc/ircservices/files/ircservices.initd4
3 files changed, 11 insertions, 6 deletions
diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog
index 66e8b2cc7078..f9cf448e1ebe 100644
--- a/net-irc/ircservices/ChangeLog
+++ b/net-irc/ircservices/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/ircservices
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.49 2011/12/15 15:19:02 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.50 2011/12/17 04:41:25 binki Exp $
+
+ 17 Dec 2011; Nathan Phillip Brink <binki@gentoo.org>
+ files/ircservices.init.d, files/ircservices.initd:
+ Use --user option instead of deprecated --chuid option for start-stop-daemon,
+ reported by ago.
15 Dec 2011; Agostino Sarubbo <ago@gentoo.org> ircservices-5.1.24.ebuild:
Stable for AMD64, wrt bug #394487
diff --git a/net-irc/ircservices/files/ircservices.init.d b/net-irc/ircservices/files/ircservices.init.d
index 4eddbf16360f..352af6435235 100644
--- a/net-irc/ircservices/files/ircservices.init.d
+++ b/net-irc/ircservices/files/ircservices.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.init.d,v 1.5 2006/11/05 22:23:08 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.init.d,v 1.6 2011/12/17 04:41:25 binki Exp $
depend() {
if [[ ${LOCALIRCD} = true ]]
@@ -15,7 +15,7 @@ depend() {
start() {
ebegin "Starting IRC Services"
- start-stop-daemon --start --quiet --chuid ircservices --exec /usr/bin/ircservices -- \
+ start-stop-daemon --start --quiet --user ircservices --exec /usr/bin/ircservices -- \
-dir=/var/lib/ircservices \
-log=/var/log/ircservices/ircservices.log \
&>/dev/null
diff --git a/net-irc/ircservices/files/ircservices.initd b/net-irc/ircservices/files/ircservices.initd
index 0bc561c7203c..4df0fa0d84c4 100644
--- a/net-irc/ircservices/files/ircservices.initd
+++ b/net-irc/ircservices/files/ircservices.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.initd,v 1.1 2011/06/27 23:55:00 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.initd,v 1.2 2011/12/17 04:41:25 binki Exp $
depend() {
need net
@@ -18,7 +18,7 @@ start() {
fi
ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --chuid ircservices --exec /usr/bin/ircservices -- \
+ start-stop-daemon --start --user ircservices --exec /usr/bin/ircservices -- \
-dir=/var/lib/ircservices \
-log=/var/log/ircservices/ircservices.log
eend $?