[jitsi] Handle the 'JITSI_SCALE=both' case

This commit is contained in:
Bernhard "bero" Rosenkränzer (Boggins) 2024-12-30 21:15:37 +01:00
parent 3228ac7166
commit 21759969ff

View File

@ -35,7 +35,7 @@ startservice_jitsi() {
kill -9 $SPINPID &> /dev/null
# Allow multiple JVBs to connect
if [ "$JITSI_SCALE" = "client" ]; then
if [ "$JITSI_SCALE" = "client" -o "$JITSI_SCALE" = "both" ]; then
for i in $(seq 1 10); do
docker exec -ti jitsi-prosody-1 prosodyctl --config /config/prosody.cfg.lua register jvb$i auth.jitsiscale.federated.computer J17515cAl3-jvb
done