view common/logrotate-httpd @ 52:be1e9773a12c

Mercurial repo versions index.php files etc, so removing index.php breaks things!
author IBBoard <dev@ibboard.co.uk>
date Sat, 15 Aug 2015 19:15:19 +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
}