blob: 083913f3907415d4756ff447e68a285b1be96370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Source: Gentoo (bug #178975)
Upstream: no
Reason: Logrotate script fails if Tor is not running. This should really go
upstream.
diff -ruN tor-0.2.5.10.orig/contrib/operator-tools/tor.logrotate.in tor-0.2.5.10/contrib/operator-tools/tor.logrotate.in
--- tor-0.2.5.10.orig/contrib/operator-tools/tor.logrotate.in 2014-06-27 23:45:19.000000000 +0200
+++ tor-0.2.5.10/contrib/operator-tools/tor.logrotate.in 2014-11-01 09:06:46.466585311 +0100
@@ -6,9 +6,9 @@
missingok
notifempty
# you may need to change the username/groupname below
- create 0640 _tor _tor
+ create 0640 tor tor
sharedscripts
postrotate
- /etc/init.d/tor reload > /dev/null
+ /etc/init.d/tor reload > /dev/null || true
endscript
}
|