xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# /etc/logrotate.d/rsyslog - Ported from Debian
2
3/var/log/syslog
4{
5        rotate 7
6        daily
7        missingok
8        notifempty
9        delaycompress
10        compress
11        postrotate
12		@BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
13        endscript
14}
15
16/var/log/mail.info
17/var/log/mail.warn
18/var/log/mail.err
19/var/log/mail.log
20/var/log/daemon.log
21/var/log/kern.log
22/var/log/auth.log
23/var/log/user.log
24/var/log/lpr.log
25/var/log/cron.log
26/var/log/debug
27/var/log/messages
28{
29        rotate 4
30        weekly
31        missingok
32        notifempty
33        compress
34        delaycompress
35        sharedscripts
36        postrotate
37		@BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
38        endscript
39}
40