/usr/share/zentyal/stubs/squid/dansguardian.logrotate is in zentyal-squid 2.3.3.
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 | /var/log/dansguardian/access.log {
rotate 5
daily
create 644 dansguardian dansguardian
prerotate
/usr/share/zentyal-squid/manage-services stop > /dev/null 2>&1 || true
endscript
postrotate
/usr/share/zentyal-squid/manage-services start > /dev/null 2>&1 || true
endscript
}
|