forked from pool/fail2ban
50e6c9be87
Included logrotate configuration for fail2ban OBS-URL: https://build.opensuse.org/request/show/176913 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=31
14 lines
257 B
Plaintext
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
|
|
}
|