summaryrefslogtreecommitdiff
path: root/staging/bind/named.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'staging/bind/named.logrotate')
-rw-r--r--staging/bind/named.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/staging/bind/named.logrotate b/staging/bind/named.logrotate
new file mode 100644
index 000000000..ef1a2d032
--- /dev/null
+++ b/staging/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
+}