SHA256
1
0
forked from pool/fail2ban
fail2ban/fail2ban.logrotate

14 lines
257 B
Plaintext

/var/log/fail2ban.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 644 root root
postrotate
fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true
endscript
}