diff options
Diffstat (limited to 'modules/apache/templates/logrotate')
-rw-r--r-- | modules/apache/templates/logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate new file mode 100644 index 00000000..56805675 --- /dev/null +++ b/modules/apache/templates/logrotate @@ -0,0 +1,13 @@ +/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex { + rotate 5 + monthly + missingok + notifempty + nocompress + prerotate + /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || : + endscript + postrotate + /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || : + endscript +} |