summaryrefslogtreecommitdiff
path: root/contrib/tor.logrotate.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-24 17:59:33 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-24 17:59:33 +0000
commitad55cb36c305977db1fa44baf8c846a558a80bc6 (patch)
tree9a042efc36ba2937fbc47f54795362751ff0d6a3 /contrib/tor.logrotate.in
parent221fc8d709c875086adb81215d4e3789b0811af3 (diff)
downloadtor-ad55cb36c305977db1fa44baf8c846a558a80bc6.tar.gz
tor-ad55cb36c305977db1fa44baf8c846a558a80bc6.zip
Add missing file from last commit. Can the debian package use any of these recent changes?
svn:r5640
Diffstat (limited to 'contrib/tor.logrotate.in')
-rw-r--r--contrib/tor.logrotate.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/tor.logrotate.in b/contrib/tor.logrotate.in
new file mode 100644
index 0000000000..9dd64476bb
--- /dev/null
+++ b/contrib/tor.logrotate.in
@@ -0,0 +1,12 @@
+@LOCALSTATEDIR@/log/tor/*log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/rc.d/init.d/tor reload > /dev/null
+ endscript
+}