/var/log/fail2ban.log { weekly rotate 4 missingok compress postrotate /usr/bin/fail2ban-client flushlogs 1>/dev/null || true endscript }