Просмотр исходного кода

jvb: fix not setting WS server ID

Saúl Ibarra Corretgé 2 лет назад
Родитель
Сommit
8d5a9cf
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      jvb/rootfs/etc/cont-init.d/10-config

+ 2 - 0
jvb/rootfs/etc/cont-init.d/10-config

@@ -11,6 +11,8 @@ if [[ "$JVB_AUTH_PASSWORD" == "$OLD_JVB_AUTH_PASSWORD" ]]; then
     exit 1
 fi
 
+[ -z "${XMPP_SERVER}" ] && export XMPP_SERVER=xmpp.meet.jitsi
+
 # On environments like Swarm the IP address used by the default gateway need not be
 # the one used for inter-container traffic. Use that one for our fallback ID.
 XMPP_SERVER_IP=$(dig +short +search ${XMPP_SERVER})