Files
hosting/etc/logrotate.d/tor
Daniel Winzen e0b35fb943 Initial commit
2017-04-30 19:32:42 +02:00

16 lines
234 B
Plaintext

/var/log/tor/*log {
daily
rotate 2
compress
delaycompress
missingok
notifempty
create 0640 debian-tor adm
sharedscripts
postrotate
if service tor status > /dev/null; then
service tor reload > /dev/null
fi
endscript
}