diff options
Diffstat (limited to 'patches/source/httpd/logrotate.httpd')
-rw-r--r-- | patches/source/httpd/logrotate.httpd | 12 |
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 00000000..cc638367 --- /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 +} |