summaryrefslogtreecommitdiff
path: root/network/nsd/nsd.logrotate
diff options
context:
space:
mode:
authorSergei Fedosoff <eleksir@gmail.com>2016-11-04 20:01:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-04 20:01:39 +0700
commit11ec04b39d0cce1eea0f923f900e260fe1de717f (patch)
treeeb1b3813007efe715d641902e5c69201b494c3a0 /network/nsd/nsd.logrotate
parentf857558fa04e8119a86c69c6d1591c7868c6b408 (diff)
downloadslackbuilds-11ec04b39d0cce1eea0f923f900e260fe1de717f.tar.gz
network/nsd: Added (Name Server Daemon).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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
+}