view common/logrotate-httpd @ 128:379089631403 puppet-3.6

Fix rookie cron mistake - don't run Postwhite EVERY MINUTE!
author IBBoard <dev@ibboard.co.uk>
date Sun, 18 Sep 2016 07:22:22 +0100
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
}