diff options
Diffstat (limited to 'network/fail2ban/doinst.sh')
-rw-r--r-- | network/fail2ban/doinst.sh | 5 |
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 |