summaryrefslogtreecommitdiffstats
path: root/horde-logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'horde-logrotate')
-rw-r--r--horde-logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/horde-logrotate b/horde-logrotate
new file mode 100644
index 0000000..73b50d0
--- /dev/null
+++ b/horde-logrotate
@@ -0,0 +1,10 @@
+# Rotate Horde logs daily, only if not empty
+# Save 14 days old logs under compressed mode
+/var/log/horde/*.log {
+ daily
+ rotate 14
+ compress
+ notifempty
+ missingok
+ create 644 apache apache
+}