view common/logrotate-httpd @ 383:f9a6f6ff8256

Attempt to migrate CentOS8 to Streams automatically
author IBBoard <dev@ibboard.co.uk>
date Thu, 16 Dec 2021 20:37:58 +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
}