summaryrefslogtreecommitdiffstats
path: root/compass-deck/misc/logrotate.d/httpd
diff options
context:
space:
mode:
Diffstat (limited to 'compass-deck/misc/logrotate.d/httpd')
-rw-r--r--compass-deck/misc/logrotate.d/httpd9
1 files changed, 9 insertions, 0 deletions
diff --git a/compass-deck/misc/logrotate.d/httpd b/compass-deck/misc/logrotate.d/httpd
new file mode 100644
index 0000000..794b9d7
--- /dev/null
+++ b/compass-deck/misc/logrotate.d/httpd
@@ -0,0 +1,9 @@
+/var/log/httpd/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /sbin/service httpd reload > /dev/null 2>/dev/null || true
+ endscript
+}