view common/logrotate-httpd @ 80:bdbb8f6176c2 puppet-3.6

Require bzip2 - why isn't this a default?!
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Oct 2015 20:33:05 +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
}