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/ircservices/files
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/ircservices/files')
-rw-r--r--net-irc/ircservices/files/ircservices.init.d6
-rw-r--r--net-irc/ircservices/files/ircservices.initd4
2 files changed, 5 insertions, 5 deletions
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 $?