summaryrefslogtreecommitdiff
path: root/testing/bind/named.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
commit75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 (patch)
tree9bd2c1fbe4c9a0fd5ede1a5667137113d48d2c69 /testing/bind/named.logrotate
parenta135f8563fea25509d9a92db7c03ac3d08230a3f (diff)
Thu Jul 7 04:59:01 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
+}