1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/inetutils-syslogd/inetutils-syslogd.logrotate
Stuart Cardall a1e8a7a17c testing/inetutils-syslogd: upgrade to 1.9.2 & small fixes
APKBUILD now installs /sbin/setup-inetutils-syslogd correctly.

'delaycompress' changed to 'copytruncate' in logrotate settings so logs
do not continue to be written to a rotated log file.

/etc/syslog.conf settings for INN news system commented out by default.
2014-04-22 21:58:55 +02:00

38 lines
550 B
Text

/var/log/syslog
{
rotate 7
daily
missingok
notifempty
copytruncate
compress
postrotate
/etc/init.d/inetutils-syslogd reload &>/dev/null || true
endscript
}
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
rotate 4
weekly
missingok
notifempty
copytruncate
compress
sharedscripts
postrotate
/etc/init.d/inetutils-syslogd reload &>/dev/null || true
endscript
}