blob: b144b2a291f602dcef1fbf134276b53c2169cf31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex {
rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
monthly
missingok
notifempty
compress
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
}
|