mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
9071651ede
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
12 lines
348 B
Text
12 lines
348 B
Text
# 5/23/2013 - updated logrotate script based on suggestion by Sebastian Arcus
|
|
# and official github documentation.
|
|
# 09/25/2014 - updated logrotate script for version 0.9.0 and beyond
|
|
/var/log/fail2ban.log {
|
|
weekly
|
|
rotate 7
|
|
missingok
|
|
nocompress
|
|
postrotate
|
|
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
|
endscript
|
|
}
|