summaryrefslogtreecommitdiffstats
path: root/horde-logrotate
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-23 15:15:00 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-23 15:15:00 +0200
commit3f199d3b4d8f28e392ac8e1a6d14db9f6d064af4 (patch)
treeb136a86c8cacd5cacb14ab951ececb4dcb7c8e4d /horde-logrotate
parentb7612c023750c69d35f48b8e3c45f32146b122b1 (diff)
php-horde-horde
- don't use system javascript libraries as this breaks horde and its cache system - use /var/log/horde for logging - use /var/lib/horde/cache for caching - use /var/lib/horde/static for js and css cache - fix regex filter, fix missing horde-power*.png
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
+}