mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
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).
15 lines
237 B
Text
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
|
|
}
|