vp-build/templates/rsyslog/files/rsyslog.logrotate
Juan RP 23565d7130 rsyslog: add logrotate script. Bump revision.
--HG--
extra : convert_revision : bed18dc5f19b4b65dee9f5741da2f00fe30085f9
2009-10-04 16:33:08 +02:00

9 lines
197 B
Plaintext

/var/log/messages /var/log/dmesg /var/log/lastlog /var/log/secure {
missingok
sharedscripts
postrotate
kill -HUP $(cat /var/run/rsyslogd.pid 2>/dev/null) \
2>/dev/null || true
endscript
}