diff options
Diffstat (limited to 'network/tor/logrotate.tor')
-rw-r--r-- | network/tor/logrotate.tor | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/tor/logrotate.tor b/network/tor/logrotate.tor new file mode 100644 index 0000000000..7b1f8d6d8b --- /dev/null +++ b/network/tor/logrotate.tor @@ -0,0 +1,14 @@ +/var/log/tor/*log { + daily + rotate 5 + compress + delaycompress + missingok + notifempty + create 0644 tor tor + sharedscripts + postrotate + /etc/rc.d/rc.tor reload > /dev/null + endscript +} + |