ansible-roles/bind/templates/logrotate_bind.j2

15 lines
266 B
Django/Jinja

{% if bind_chroot_set | bool %}
{{ bind_chroot_path }}{{ bind_log_file }} {
{% else %}
{{ bind_log_file }} {
{% endif %}
weekly
missingok
rotate 52
create 640 bind bind
sharedscripts
postrotate
rndc reload > /dev/null
endscript
}