Logrotate Beispiel squid: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(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…“)
 
(kein Unterschied)

Aktuelle Version vom 26. März 2025, 19:24 Uhr

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
}