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