From: | "Christian Faulhammer (fauli)" <fauli@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/tor/files: tor.initd-r4 |
Date: | Mon, 07 Sep 2009 11:23:33 |
Message-Id: | E1MkcJn-0007BW-Ml@stork.gentoo.org |
1 | fauli 09/09/07 11:23:31 |
2 | |
3 | Modified: tor.initd-r4 |
4 | Log: |
5 | respect CONFFILE variable in start calls, reported by Iome <frodone AT gmail DOT com> in bug 283524 |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.5 net-misc/tor/files/tor.initd-r4 |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/files/tor.initd-r4?rev=1.5&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/files/tor.initd-r4?rev=1.5&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/files/tor.initd-r4?r1=1.4&r2=1.5 |
14 | |
15 | Index: tor.initd-r4 |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r4,v |
18 | retrieving revision 1.4 |
19 | retrieving revision 1.5 |
20 | diff -u -r1.4 -r1.5 |
21 | --- tor.initd-r4 12 Jun 2009 01:02:47 -0000 1.4 |
22 | +++ tor.initd-r4 7 Sep 2009 11:23:31 -0000 1.5 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2005 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r4,v 1.4 2009/06/12 01:02:47 fauli Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r4,v 1.5 2009/09/07 11:23:31 fauli Exp $ |
29 | |
30 | opts="${opts} checkconfig reload" |
31 | PIDFILE=/var/run/tor/tor.pid |
32 | @@ -35,7 +35,7 @@ |
33 | checkconfig || return 1 |
34 | ebegin "Starting Tor" |
35 | HOME=/var/lib/tor |
36 | - start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --exec /usr/bin/tor -- --runasdaemon 1 --PidFile "${PIDFILE}" > /dev/null 2>&1 |
37 | + start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --exec /usr/bin/tor -- -f "${CONFFILE}" --runasdaemon 1 --PidFile "${PIDFILE}" > /dev/null 2>&1 |
38 | eend $? |
39 | } |