12 lines
230 B
Plaintext
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
|
|
}
|