diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-05 01:22:39 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-05 01:22:39 +0300 |
commit | 5439590e63754909635ee45bfdd3a36f060703d2 (patch) | |
tree | 4e329c2fcb540fd1b040e3950f9a6071e0f2a4e5 /packages/net-misc/tor/files/tor.logrotate.in.patch | |
parent | 41e76d8b71a059ee085af55a31d42837395cc6e1 (diff) |
tor-scm (from net repo)
Diffstat (limited to 'packages/net-misc/tor/files/tor.logrotate.in.patch')
-rw-r--r-- | packages/net-misc/tor/files/tor.logrotate.in.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/net-misc/tor/files/tor.logrotate.in.patch b/packages/net-misc/tor/files/tor.logrotate.in.patch new file mode 100644 index 0000000..083913f --- /dev/null +++ b/packages/net-misc/tor/files/tor.logrotate.in.patch @@ -0,0 +1,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 + } |