summaryrefslogtreecommitdiff
path: root/testing/bind/named.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-23 22:47:30 +0000
committerroot <root@rshg047.dnsready.net>2011-05-23 22:47:30 +0000
commit87e20a64534e8f58ca4a4f84000b629e48569a98 (patch)
tree8c4b498a38d72459c7bc88bc02719b4849159d0f /testing/bind/named.logrotate
parent3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 (diff)
Mon May 23 22:47:30 UTC 2011
Diffstat (limited to 'testing/bind/named.logrotate')
-rw-r--r--testing/bind/named.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/bind/named.logrotate b/testing/bind/named.logrotate
new file mode 100644
index 000000000..ef1a2d032
--- /dev/null
+++ b/testing/bind/named.logrotate
@@ -0,0 +1,6 @@
+/var/log/named.log {
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /var/run/named/named.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}