Files
extra/fail2ban/fail2ban.logrotate
2025-06-22 20:39:04 -05:00

12 lines
230 B
Plaintext

/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
}