summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-02-08 06:41:07 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-02-08 06:41:07 +0000
commit122ce9c6119d77e4e68e75e31871b51188c4ceba (patch)
treeefc85baea4b4d9cf14a4da3f3b52957d970257b8 /net-nntp
parentBump for #401965 (diff)
downloadgentoo-2-122ce9c6119d77e4e68e75e31871b51188c4ceba.tar.gz
gentoo-2-122ce9c6119d77e4e68e75e31871b51188c4ceba.tar.bz2
gentoo-2-122ce9c6119d77e4e68e75e31871b51188c4ceba.zip
Converted /etc/init.d/innd to use --user instead of --chuid.
(Portage version: 2.2.0_alpha84_p53/cvs/Linux x86_64)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/inn/ChangeLog7
-rw-r--r--net-nntp/inn/files/innd8
2 files changed, 9 insertions, 6 deletions
diff --git a/net-nntp/inn/ChangeLog b/net-nntp/inn/ChangeLog
index a4ae327418ed..5439c3c615d9 100644
--- a/net-nntp/inn/ChangeLog
+++ b/net-nntp/inn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-nntp/inn
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/ChangeLog,v 1.40 2011/08/06 03:51:55 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/ChangeLog,v 1.41 2012/02/08 06:41:07 slyfox Exp $
+
+ 08 Feb 2012; Sergei Trofimovich <slyfox@gentoo.org> files/innd:
+ Converted /etc/init.d/innd to use --user instead of --chuid.
06 Aug 2011; Jeroen Roovers <jer@gentoo.org> inn-2.5.2-r1.ebuild:
Replace piped sed calls with single combined sed scripts.
diff --git a/net-nntp/inn/files/innd b/net-nntp/inn/files/innd
index 3bbe5b9fb391..a3b1feea4063 100644
--- a/net-nntp/inn/files/innd
+++ b/net-nntp/inn/files/innd
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd,v 1.2 2007/02/26 22:03:41 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd,v 1.3 2012/02/08 06:41:07 slyfox Exp $
depend() {
need net
@@ -9,13 +9,13 @@ depend() {
start() {
ebegin "Starting innd"
- start-stop-daemon --start --chuid news --exec /usr/lib/news/bin/rc.news
+ start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news
eend $?
}
stop() {
ebegin "Stopping innd"
- start-stop-daemon --start --chuid news --exec /usr/lib/news/bin/rc.news -- stop
+ start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news -- stop
sleep 2
eend $?
}