1 2 3 4 5 6 7 8 9
/var/log/fail2ban.log { daily rotate 7 missingok compress postrotate /usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true endscript }