summaryrefslogtreecommitdiff
path: root/network/fail2ban/doinst.sh
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-11 22:25:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:25:16 +0200
commit8876733ea6f004244472cff76bd964dc8cc5aedf (patch)
tree974ecdb9203d9b2ed68d86bd11bd927946cb7deb /network/fail2ban/doinst.sh
parent5af4f2b0615f5e0d18ce4fd4411cf082878d6de4 (diff)
downloadslackbuilds-8876733ea6f004244472cff76bd964dc8cc5aedf.tar.gz
network/fail2ban: Updated for version 0.8.3
Diffstat (limited to 'network/fail2ban/doinst.sh')
-rw-r--r--network/fail2ban/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/fail2ban/doinst.sh b/network/fail2ban/doinst.sh
index de511378bf..485e843f8e 100644
--- a/network/fail2ban/doinst.sh
+++ b/network/fail2ban/doinst.sh
@@ -18,5 +18,10 @@ if [ -e etc/rc.d/rc.fail2ban ]; then
mv etc/rc.d/rc.fail2ban.new.incoming etc/rc.d/rc.fail2ban.new
fi
+# make directory for socket and pid file
+if [ ! -d var/run/fail2ban ]; then
+ mkdir -p var/run/fail2ban
+fi
+
config etc/rc.d/rc.fail2ban.new
config etc/logrotate.d/fail2ban.new