aports/testing/inetutils-syslogd/inetutils-syslogd.logrotate
IT Offshore fb2496e8e0 testing/inetutils-syslogd: new aport
A small syslogd for logging to multiple files
http://www.gnu.org/software/inetutils/

revised complete patch for inetutils-syslogd.

post-install - just gives status / info message - configuration is
now done by /sbin/setup-inetutils-syslogd. Both scripts now use the
system colours $STRONG $RED $GREEN.

post-deinstall - just adds back busybox syslog to boot runlevel &
shows the status of syslog & cron (as cron will be stopped by removing
any syslog)
2013-11-15 15:56:53 +00:00

39 lines
552 B
Plaintext

/var/log/syslog
{
rotate 7
daily
missingok
notifempty
delaycompress
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
compress
delaycompress
sharedscripts
postrotate
/etc/init.d/inetutils-syslogd reload &>/dev/null || true
endscript
}