diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2014-09-28 16:12:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-28 16:12:46 +0700 |
commit | 8d373c2d190cd5e6b0f9750b9232a8f6bb0020d8 (patch) | |
tree | 74a7a53659647d884dc1b122d1cdf9d2a6e21c1e /network/fail2ban/fail2ban.logrotate | |
parent | 0e83480f1f9a9bc186348c6126b8b970240c1247 (diff) | |
download | slackbuilds-8d373c2d190cd5e6b0f9750b9232a8f6bb0020d8.tar.gz |
network/fail2ban: Updated for version 0.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.logrotate')
-rw-r--r-- | network/fail2ban/fail2ban.logrotate | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/fail2ban/fail2ban.logrotate b/network/fail2ban/fail2ban.logrotate index 8af6099887..4521d28aeb 100644 --- a/network/fail2ban/fail2ban.logrotate +++ b/network/fail2ban/fail2ban.logrotate @@ -1,11 +1,12 @@ # 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 set logtarget /var/log/fail2ban.log 1>/dev/null || true + /usr/bin/fail2ban-client flushlogs 1>/dev/null || true endscript } |