slackbuilds/network/tor/logrotate.tor

16 lines
217 B
Plaintext

/var/log/tor/*log {
su @USER@ @GROUP@
daily
rotate 5
compress
delaycompress
missingok
notifempty
create 0644 tor tor
sharedscripts
postrotate
/etc/rc.d/rc.tor reload > /dev/null
endscript
}