You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-servers/varnish/files/varnishd.logrotate-r2

32 lines
470 B

/var/log/varnish/varnishncsa.log {
daily
rotate 31
copytruncate
dateext
dateyesterday
delaycompress
compress
notifempty
missingok
prerotate
/etc/init.d/varnishncsa -q status && /etc/init.d/varnishncsa -q flush
endscript
}
/var/log/varnish/varnishlog.log {
daily
rotate 31
copytruncate
dateext
dateyesterday
delaycompress
compress
notifempty
missingok
prerotate
/etc/init.d/varnishlog -q status && /etc/init.d/varnishlog -q flush
endscript
}