fail2ban/files/fail2ban-logrotate

12 lines
234 B
Plaintext
Raw Normal View History

2013-05-03 07:16:42 +00:00
#
# Debian:
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
/var/log/fail2ban.log {
missingok
notifempty
2013-05-03 07:16:42 +00:00
postrotate
/usr/bin/fail2ban-client flushlogs >/dev/null || true
2013-05-03 07:16:42 +00:00
endscript
}