forked from pool/fail2ban
1c64f0f9db
- Reviewed and fixed one github references in the changelog following http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations - Use new flushlogs syntax after logrotate OBS-URL: https://build.opensuse.org/request/show/214757 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=40
14 lines
232 B
Plaintext
14 lines
232 B
Plaintext
/var/log/fail2ban.log {
|
|
compress
|
|
dateext
|
|
maxage 365
|
|
rotate 99
|
|
size=+4096k
|
|
notifempty
|
|
missingok
|
|
create 644 root root
|
|
postrotate
|
|
fail2ban-client flushlogs 1>/dev/null || true
|
|
endscript
|
|
}
|