/etc/logrotate.d/syslog

/etc/logrotate.d/syslog
mail@pastecode.io avatar
unknown
plain_text
2 years ago
298 B
2
Indexable
Never
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
    rotate 8
    daily
    maxsize 250M
    compress
    missingok
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}