summaryrefslogtreecommitdiffstats
path: root/network/nsd/nsd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/nsd/nsd.logrotate')
-rw-r--r--network/nsd/nsd.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/nsd/nsd.logrotate b/network/nsd/nsd.logrotate
new file mode 100644
index 0000000000..eb49072a75
--- /dev/null
+++ b/network/nsd/nsd.logrotate
@@ -0,0 +1,11 @@
+/var/log/nsd/*.log {
+ daily
+ rotate 14
+ notifempty
+ missingok
+ compress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.nsd logreopen
+ endscript
+}