From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/flow-tools/files: flowcapture.initd |
Date: | Tue, 26 Feb 2013 15:23:07 |
Message-Id: | 20130226152303.DD7B62171D@flycatcher.gentoo.org |
1 | jer 13/02/26 15:23:03 |
2 | |
3 | Modified: flowcapture.initd |
4 | Log: |
5 | Replace deprecated start-stop-daemon option (bug #458942 by Reuben Farrelly). |
6 | |
7 | (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
8 | |
9 | Revision Changes Path |
10 | 1.3 net-analyzer/flow-tools/files/flowcapture.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/files/flowcapture.initd?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/files/flowcapture.initd?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/files/flowcapture.initd?r1=1.2&r2=1.3 |
15 | |
16 | Index: flowcapture.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/files/flowcapture.initd,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- flowcapture.initd 9 Apr 2007 16:17:07 -0000 1.2 |
23 | +++ flowcapture.initd 26 Feb 2013 15:23:03 -0000 1.3 |
24 | @@ -1,5 +1,5 @@ |
25 | #!/sbin/runscript |
26 | -# Copyright 1999-2005 Gentoo Foundation |
27 | +# Copyright 1999-2013 Gentoo Foundation |
28 | # Distributed under the terms of the GNU General Public License v2 |
29 | |
30 | depend() { |
31 | @@ -8,7 +8,7 @@ |
32 | |
33 | start() { |
34 | ebegin "Starting flow-capture" |
35 | - start-stop-daemon --start -c ${USER} --exec /usr/bin/flow-capture \ |
36 | + start-stop-daemon --start --user ${USER} --exec /usr/bin/flow-capture \ |
37 | --pidfile ${PIDFILE}.${PORT} \ |
38 | -- ${FLOW_OPTS} >/dev/null 2>&1 |
39 | eend $? |