/etc/logrotate.d/tor is in tor 0.2.9.16-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /var/log/tor/*log {
daily
rotate 5
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
}
|