/var/log/fail2ban.log {
    daily
    rotate 7
    missingok
    compress
    postrotate
	/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
	chown :wheel /var/log/fail2ban.log
	chmod 640 /var/log/fail2ban.log
    endscript
}
