summaryrefslogtreecommitdiff
path: root/testing/bind/named.logrotate
diff options
context:
space:
mode:
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
+}