ansible-roles/squid/templates/logrotate.j2

12 lines
270 B
Plaintext
Raw Normal View History

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