]> Frank Brehm's Git Trees - salt/states.git/commitdiff
Adding bind/files/bind.logrotate.conf
authorFrank Brehm <frank@brehm-online.com>
Fri, 11 Mar 2016 22:42:40 +0000 (23:42 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 11 Mar 2016 22:42:40 +0000 (23:42 +0100)
bind/files/bind.logrotate.conf [new file with mode: 0644]

diff --git a/bind/files/bind.logrotate.conf b/bind/files/bind.logrotate.conf
new file mode 100644 (file)
index 0000000..75637e8
--- /dev/null
@@ -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
+