summarylogtreecommitdiffstats
path: root/librenms.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'librenms.logrotate')
-rw-r--r--librenms.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/librenms.logrotate b/librenms.logrotate
new file mode 100644
index 000000000000..d01232dd6fec
--- /dev/null
+++ b/librenms.logrotate
@@ -0,0 +1,11 @@
+# /etc/logrotate.d/librenms
+/var/log/librenms/*log {
+ su http http
+ weekly
+ rotate 6
+ compress
+ delaycompress
+ missingok
+ notifempty
+ create 664 http http
+}