summaryrefslogtreecommitdiffstats
path: root/patches/source/httpd/logrotate.httpd
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/httpd/logrotate.httpd')
-rw-r--r--patches/source/httpd/logrotate.httpd12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/source/httpd/logrotate.httpd b/patches/source/httpd/logrotate.httpd
new file mode 100644
index 000000000..cc6383674
--- /dev/null
+++ b/patches/source/httpd/logrotate.httpd
@@ -0,0 +1,12 @@
+/var/log/httpd/*_log {
+ rotate 10
+ notifempty
+ missingok
+ size=5M
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.httpd restart
+ endscript
+}