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