diff common/logrotate-httpd @ 0:956e484adc12

Initial public release of Puppet configs
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Aug 2014 19:47:38 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/logrotate-httpd	Sat Aug 16 19:47:38 2014 +0000
@@ -0,0 +1,11 @@
+/var/log/apache/*log {
+    monthly
+    rotate 3
+    missingok
+    compress
+    notifempty
+    sharedscripts
+    postrotate
+        /sbin/service httpd reload > /dev/null 2>/dev/null || true
+    endscript
+}