Logrotate Beispiel squid
Version vom 26. März 2025, 19:24 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Die Konfiguration für squid könnte wie folgt aussehen= *cat /etc/logrotate.d/squid <pre> /var/log/squid/*.log { daily missingok rotate 7 notifempty com…“)
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
}