2 |
# rsyslog logrotate config file |
# rsyslog logrotate config file |
3 |
# |
# |
4 |
|
|
5 |
|
/var/log/messages |
6 |
/var/log/messages { |
/var/log/secure |
7 |
sharedscripts |
/var/log/maillog |
8 |
postrotate |
/var/log/cron |
9 |
/etc/init.d/rsyslog reload >/dev/null |
/var/log/spooler |
|
endscript |
|
|
} |
|
|
|
|
|
/var/log/secure { |
|
|
sharedscripts |
|
|
postrotate |
|
|
/etc/init.d/rsyslog reload >/dev/null |
|
|
endscript |
|
|
} |
|
|
|
|
|
/var/log/maillog { |
|
|
sharedscripts |
|
|
postrotate |
|
|
/etc/init.d/rsyslog reload >/dev/null |
|
|
endscript |
|
|
} |
|
|
|
|
|
/var/log/cron { |
|
|
sharedscripts |
|
|
postrotate |
|
|
/etc/init.d/rsyslog reload >/dev/null |
|
|
endscript |
|
|
} |
|
|
|
|
|
/var/log/spooler { |
|
|
sharedscripts |
|
|
postrotate |
|
|
/etc/init.d/rsyslog reload >/dev/null |
|
|
endscript |
|
|
} |
|
|
|
|
10 |
/var/log/boot.log { |
/var/log/boot.log { |
11 |
sharedscripts |
sharedscripts |
12 |
postrotate |
postrotate |
13 |
/etc/init.d/rsyslog reload >/dev/null |
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true |
14 |
endscript |
endscript |
15 |
} |
} |