2019-09-30 11:16:30 -04:00
|
|
|
/var/log/cron
|
|
|
|
|
/var/log/maillog
|
|
|
|
|
/var/log/messages
|
|
|
|
|
/var/log/secure
|
|
|
|
|
/var/log/spooler
|
|
|
|
|
{
|
2020-01-14 21:57:08 +08:00
|
|
|
maxage 365
|
|
|
|
|
rotate 30
|
|
|
|
|
notifempty
|
|
|
|
|
copytruncate
|
2019-09-30 11:16:30 -04:00
|
|
|
missingok
|
2020-01-14 21:57:08 +08:00
|
|
|
size +4096k
|
2019-09-30 11:16:30 -04:00
|
|
|
sharedscripts
|
|
|
|
|
postrotate
|
|
|
|
|
/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true
|
|
|
|
|
endscript
|
|
|
|
|
}
|