view common/logrotate-httpd @ 92:4412f5e0b2ba puppet-3.6

Add body checks to emails for the minority of obvious spam that aren't caught
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Jan 2016 11:01:09 +0000
parents 956e484adc12
children
line wrap: on
line source

/var/log/apache/*log {
    monthly
    rotate 3
    missingok
    compress
    notifempty
    sharedscripts
    postrotate
        /sbin/service httpd reload > /dev/null 2>/dev/null || true
    endscript
}