summaryrefslogtreecommitdiffstats
path: root/system/ntopng/ntopng.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/ntopng/ntopng.logrotate')
-rw-r--r--system/ntopng/ntopng.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ntopng/ntopng.logrotate b/system/ntopng/ntopng.logrotate
new file mode 100644
index 0000000000..05c75dea39
--- /dev/null
+++ b/system/ntopng/ntopng.logrotate
@@ -0,0 +1,11 @@
+/var/log/ntopng {
+ # based on ntopng.logrotate included in the ntopng/debian source.
+ weekly
+ missingok
+ rotate 4
+ # ntopng doesn't handle SIGHUP
+ copytruncate
+ nocompress
+ notifempty
+ create 640 root wheel
+}