Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nntp/inn/files: innd
Date: Wed, 08 Feb 2012 06:41:18
Message-Id: 20120208064107.4D9BB2004B@flycatcher.gentoo.org
1 slyfox 12/02/08 06:41:07
2
3 Modified: innd
4 Log:
5 Converted /etc/init.d/innd to use --user instead of --chuid.
6
7 (Portage version: 2.2.0_alpha84_p53/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 net-nntp/inn/files/innd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/innd?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/innd?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/innd?r1=1.2&r2=1.3
15
16 Index: innd
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- innd 26 Feb 2007 22:03:41 -0000 1.2
23 +++ innd 8 Feb 2012 06:41:07 -0000 1.3
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 -# Copyright 1999-2004 Gentoo Foundation
27 +# Copyright 1999-2012 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd,v 1.2 2007/02/26 22:03:41 swegener Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd,v 1.3 2012/02/08 06:41:07 slyfox Exp $
31
32 depend() {
33 need net
34 @@ -9,13 +9,13 @@
35
36 start() {
37 ebegin "Starting innd"
38 - start-stop-daemon --start --chuid news --exec /usr/lib/news/bin/rc.news
39 + start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news
40 eend $?
41 }
42
43 stop() {
44 ebegin "Stopping innd"
45 - start-stop-daemon --start --chuid news --exec /usr/lib/news/bin/rc.news -- stop
46 + start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news -- stop
47 sleep 2
48 eend $?
49 }