Logrotate Beispiel squid
Die Konfiguration für squid könnte wie folgt aussehen
- cat /etc/logrotate.d/squid
/var/log/squid/*.log {
daily
missingok
rotate 7
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/sbin/squid -k rotate
endscript
}