summaryrefslogtreecommitdiff
path: root/network/fail2ban/fail2ban.logrotate
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2013-06-03 01:56:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-06-04 00:11:29 -0500
commit99e12a62efe2dd838dc94d7e5bee76ab5ea3ecbe (patch)
treea168938d167fd13ee884675982fca58247278335 /network/fail2ban/fail2ban.logrotate
parentec5e235a801a1afbfdd913352b670da131041469 (diff)
downloadslackbuilds-99e12a62efe2dd838dc94d7e5bee76ab5ea3ecbe.tar.gz
network/fail2ban: Updated for version 0.8.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.logrotate')
-rw-r--r--network/fail2ban/fail2ban.logrotate7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/fail2ban/fail2ban.logrotate b/network/fail2ban/fail2ban.logrotate
index 2c973a26de..8af6099887 100644
--- a/network/fail2ban/fail2ban.logrotate
+++ b/network/fail2ban/fail2ban.logrotate
@@ -1,10 +1,11 @@
+# 5/23/2013 - updated logrotate script based on suggestion by Sebastian Arcus
+# and official github documentation.
/var/log/fail2ban.log {
weekly
- rotate 4
+ rotate 7
missingok
nocompress
postrotate
- /etc/rc.d/rc.fail2ban reload 1> /dev/null || true
+ /usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true
endscript
}
-