/etc/logrotate.d/dansguardian is in dansguardian 2.10.1.1-5.
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 | /var/log/dansguardian/access.log {
rotate 5
daily
prerotate
/etc/init.d/dansguardian stop > /dev/null 2>&1 || true
endscript
postrotate
/etc/init.d/dansguardian start > /dev/null 2>&1
endscript
}
|