/etc/logrotate.d/squid-deb-proxy is in squid-deb-proxy 0.6.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 12 13 14 15 16 17 18 19 20 21 22 23 24 | #
# Logrotate fragment for squid-deb-proxy.
#
/var/log/squid-deb-proxy/*.log {
daily
compress
delaycompress
rotate 2
missingok
nocreate
sharedscripts
postrotate
if [ -x /usr/sbin/squid ]; then
SQUID=/usr/sbin/squid
elif [ -x /usr/sbin/squid3 ]; then
SQUID=/usr/sbin/squid3
else
echo "No squid binary found"
exit 1
fi
test ! -e /var/run/squid-deb-proxy.pid || $SQUID -f /etc/squid-deb-proxy/squid-deb-proxy.conf -k rotate
endscript
}
|