ansible-roles/squid/templates/logrotate.j2

12 lines
255 B
Plaintext
Raw Permalink Normal View History

2017-03-14 18:06:07 +01:00
/var/log/{{ squid_daemon }}/*.log {
monthly
compress
rotate 12
missingok
create 640 proxy adm
sharedscripts
postrotate
test ! -e /var/run/{{ squid_daemon }}.pid || /usr/sbin/{{ squid_daemon }} -k rotate
endscript
}