view common/logrotate-httpd @ 183:ac164022ffb8 puppet-3.6

Try to fix "Garbage after numerical service in server description" Based on the logged config text ([127.0.0.1]:10024readme_dire...) it appears to be caused by a lack of blank line and something adding extra config values (because we don't define readme_directory)
author IBBoard <dev@ibboard.co.uk>
date Fri, 07 Dec 2018 19:54:20 +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
}