infrastructure/ansible/roles/base/files/fail2ban-logrotate

12 lines
177 B
Plaintext
Raw Normal View History

/var/log/fail2ban.log {
2021-03-28 13:06:01 +01:00
daily
rotate 7
missingok
compress
nodateext
notifempty
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
endscript
}