]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - bind/named.logrotate
bind: Rework package.
[people/ms/ipfire-3.x.git] / bind / named.logrotate
diff --git a/bind/named.logrotate b/bind/named.logrotate
new file mode 100644 (file)
index 0000000..4ed78cc
--- /dev/null
@@ -0,0 +1,8 @@
+/var/named/data/named.run {
+    missingok
+    su named named
+    create 0644 named named
+    postrotate
+        /sbin/service named reload  2> /dev/null > /dev/null || true
+    endscript
+}