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 +}