From: Frank Brehm Date: Fri, 11 Mar 2016 22:42:40 +0000 (+0100) Subject: Adding bind/files/bind.logrotate.conf X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=a21934abdf35864aa5854d3aba0cd5311b6b8317;p=salt%2Fstates.git Adding bind/files/bind.logrotate.conf --- diff --git a/bind/files/bind.logrotate.conf b/bind/files/bind.logrotate.conf new file mode 100644 index 0000000..75637e8 --- /dev/null +++ b/bind/files/bind.logrotate.conf @@ -0,0 +1,35 @@ +/var/log/bind/complete-debug.log /var/log/bind/debug.log /var/log/bind/query.log /var/log/bind/security.log { + daily + olddir /var/log/bind/.old + dateext + size 4M + rotate 10 + notifempty + missingok + compress + delaycompress + sharedscripts + postrotate + /usr/sbin/rndc reload + endscript +} + +/var/log/bind/named.log { + daily + olddir /var/log/bind/.old + dateext + size 10M + rotate 20 + notifempty + missingok + compress + delaycompress + sharedscripts + postrotate + /usr/sbin/rndc reload + endscript +} + + +# vim: ts=4 filetype=conf +