summaryrefslogtreecommitdiff
path: root/debian/tor.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tor.logrotate')
-rw-r--r--debian/tor.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tor.logrotate b/debian/tor.logrotate
new file mode 100644
index 0000000000..1d3d3a4af8
--- /dev/null
+++ b/debian/tor.logrotate
@@ -0,0 +1,12 @@
+/var/log/tor/*log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/init.d/tor reload > /dev/null
+ endscript
+}