slackbuilds_ponce/network/fail2ban/fail2ban.logrotate
Nishant Limbachia 8d373c2d19 network/fail2ban: Updated for version 0.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-09-28 16:12:46 +07:00

12 lines
337 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
/var/log/fail2ban.log {
weekly
rotate 7
missingok
nocompress
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
endscript
}