Make sure connection loop patch is applied.

This commit is contained in:
Luis Guzmán 2021-05-06 15:17:11 -05:00
parent 3a649887c5
commit ef408c0764
1 changed files with 2 additions and 2 deletions

View File

@ -1225,8 +1225,8 @@ if [ "$ENABLE_DOCKERPAD" = "yes" ]; then
bash $PWD/etherpad.sh bash $PWD/etherpad.sh
fi fi
fi fi
#Prevent Jibri conecction issue #Prevent JMS conecction issue
if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then if [ -z "$(awk "/127.0.0.1/&&/$DOMAIN/{print\$1}" /etc/hosts)" ];then
sed -i "/127.0.0.1/a \\ sed -i "/127.0.0.1/a \\
127.0.0.1 $DOMAIN" /etc/hosts 127.0.0.1 $DOMAIN" /etc/hosts
else else