view common/logrotate-httpd @ 315:469f2ff92df2

Add a loopback SMTP (for webmail) and strip out other args By specifying "[ip.add.re.ss]:type" then we're already implicitly binding to specific IPs We were also duplicating some values from the config
author IBBoard <dev@ibboard.co.uk>
date Tue, 25 Feb 2020 21:02:48 +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
}