aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knot-resolver/knot-resolver.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'testing/knot-resolver/knot-resolver.logrotate')
-rw-r--r--testing/knot-resolver/knot-resolver.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/knot-resolver/knot-resolver.logrotate b/testing/knot-resolver/knot-resolver.logrotate
new file mode 100644
index 0000000000..a1b0fb4d4b
--- /dev/null
+++ b/testing/knot-resolver/knot-resolver.logrotate
@@ -0,0 +1,7 @@
+/var/log/knot-resolver.log {
+ notifempty
+ missingok
+ postrotate
+ /etc/init.d/knot-resolver --quiet --ifstarted restart
+ endscript
+}