summaryrefslogtreecommitdiff
path: root/contrib/tor.logrotate.in
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-06-22 07:15:18 +0000
committerRoger Dingledine <arma@torproject.org>2008-06-22 07:15:18 +0000
commit52c50140818e1eeeb1eb94dc3cb868dd8e4b3630 (patch)
tree62342d039ac44da5d84813cebe56f93d28db81a8 /contrib/tor.logrotate.in
parent6a17067d38679224e8f59dd486132400e6869dc6 (diff)
downloadtor-52c50140818e1eeeb1eb94dc3cb868dd8e4b3630.tar.gz
tor-52c50140818e1eeeb1eb94dc3cb868dd8e4b3630.zip
Change the contrib/tor.logrotate script so it makes the new
logs as "_tor:_tor" rather than the default, which is generally "root:wheel". Fixes bug 676, reported by Serge Koksharov. Andrew, you should check if this breaks the rpm building (or if it makes it work better) svn:r15404
Diffstat (limited to 'contrib/tor.logrotate.in')
-rw-r--r--contrib/tor.logrotate.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tor.logrotate.in b/contrib/tor.logrotate.in
index 429fc57005..6e75f80bf0 100644
--- a/contrib/tor.logrotate.in
+++ b/contrib/tor.logrotate.in
@@ -5,6 +5,8 @@
delaycompress
missingok
notifempty
+ # you may need to change the username/groupname below
+ create 0640 _tor _tor
sharedscripts
postrotate
/etc/init.d/tor reload > /dev/null