bind-formula/bind/files/debian/logrotate_bind
Wolodja Wentland b7da1a30ef Merge pull request #15 from cosu/master
detect logrotate version and pass correct option
2014-11-22 08:48:45 +01:00

13 lines
249 B
Text

{{ map.log_dir }}/query.log {
rotate 7
daily
missingok
notifempty
sharedscripts
copytruncate
compress
create 0664 bind root
{% if not salt['pkg.version']('logrotate').startswith('3.7')-%}
su
{% endif %}
}