Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tor/files/
Date: Sat, 24 Sep 2016 12:53:39
Message-Id: 1474721608.7d343605cbb1fbcd3614f19db62fbd05bcfe21f6.blueness@gentoo
1 commit: 7d343605cbb1fbcd3614f19db62fbd05bcfe21f6
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 12:53:12 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 12:53:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d343605
7
8 net-misc/tor: further economize on openrc init script
9
10 Thanks floppym
11
12 Package-Manager: portage-2.2.28
13
14 net-misc/tor/files/tor.initd-r8 | 8 ++------
15 1 file changed, 2 insertions(+), 6 deletions(-)
16
17 diff --git a/net-misc/tor/files/tor.initd-r8 b/net-misc/tor/files/tor.initd-r8
18 index e1f6c59..ca31913 100644
19 --- a/net-misc/tor/files/tor.initd-r8
20 +++ b/net-misc/tor/files/tor.initd-r8
21 @@ -7,6 +7,8 @@ command=/usr/bin/tor
22 pidfile=/var/run/tor/tor.pid
23 command_args="--hush --runasdaemon 1 --pidfile \"${pidfile}\""
24 retry=${GRACEFUL_TIMEOUT:-60}
25 +stopsig=INT
26 +command_progress=yes
27
28 extra_commands="checkconfig"
29 extra_started_commands="reload"
30 @@ -28,12 +30,6 @@ start_pre() {
31 checkpath -d -m 0755 -o tor:tor /var/run/tor
32 }
33
34 -stop() {
35 - ebegin "Stopping Tor (waiting up to ${retry} seconds)"
36 - start-stop-daemon -K -s INT -R ${retry} -P -p ${pidfile}
37 - eend $?
38 -}
39 -
40 reload() {
41 checkconfig || return 1
42 ebegin "Reloading Tor configuration"