From ef408c0764a76010afab5c37a594c76ddf6e47be Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 6 May 2021 15:17:11 -0500 Subject: [PATCH] Make sure connection loop patch is applied. --- quick_jibri_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 2f9ee0c..ac44e8e 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -1225,8 +1225,8 @@ if [ "$ENABLE_DOCKERPAD" = "yes" ]; then bash $PWD/etherpad.sh fi fi -#Prevent Jibri conecction issue -if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then +#Prevent JMS conecction issue +if [ -z "$(awk "/127.0.0.1/&&/$DOMAIN/{print\$1}" /etc/hosts)" ];then sed -i "/127.0.0.1/a \\ 127.0.0.1 $DOMAIN" /etc/hosts else