From 94914a205228757e501fb90e5bc31cba6c650f4f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 8 Mar 2021 08:36:42 -0700 Subject: [PATCH] Install FreeSWITCH then Fail2ban. --- freebsd/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/freebsd/install.sh b/freebsd/install.sh index b4bfba5..d22fafb 100755 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -43,11 +43,6 @@ if [ .$nginx_enabled = .'true' ]; then resources/nginx.sh fi -#Fail2ban -if [ .$fail2ban_enabled = .'true' ]; then - resources/fail2ban.sh -fi - #FreeSWITCH if [ .$switch_enabled = .'true' ]; then resources/switch.sh @@ -67,5 +62,10 @@ if [ .$fail2ban_enabled = .'true' ]; then service fail2ban restart fi +#Fail2ban +if [ .$fail2ban_enabled = .'true' ]; then + resources/fail2ban.sh +fi + #add the database schema, user and groups resources/finish.sh