aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/logrotate
blob: f84ae9fee06d5e0c89d844b090a1891f22e53216 (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 <%= 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
}