Logrotate Beispiel squid
Zur Navigation springen
Zur Suche springen
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
}