view common/logrotate-httpd @ 249:e9323ff8f451

Make EPEL work on multiple versions of CentOS
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 06:57:52 -0500
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
}