summaryrefslogtreecommitdiff
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 00000000..30cee8a2
--- /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
+}