1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/main/syslog-ng/syslog-ng.logrotate
Clayton Craft fef604d6eb main/syslog-ng: allow missing in logrotate
This prevents logrotate from erroring out in the cron job if one of the
syslog logs is missing from /var/log (e.g. boot.log).
2022-04-12 09:07:09 +00:00

15 lines
237 B
Text

/var/log/auth.log
/var/log/boot.log
/var/log/cron.log
/var/log/kern.log
/var/log/mail.log
/var/log/messages
{
notifempty
missingok
compress
sharedscripts
postrotate
/etc/init.d/syslog-ng --ifstarted reload >/dev/null
endscript
}