prosody: always rebuild configs on start

Fixes the upgrade which enabled XMPP websockets in the web config
but the necessary changes in the prosody config weren't applied.
This commit is contained in:
Felix Geyer
2020-12-06 21:42:03 +01:00
committed by Saúl Ibarra Corretgé
parent 905d431e14
commit effb30b970

View File

@@ -25,7 +25,6 @@ if [[ "$(stat -c %U /prosody-plugins-custom)" != "prosody" ]]; then
chown -R prosody /prosody-plugins-custom
fi
if [[ ! -f $PROSODY_CFG ]]; then
cp -r /defaults/* /config
tpl /defaults/prosody.cfg.lua > $PROSODY_CFG
tpl /defaults/conf.d/jitsi-meet.cfg.lua > /config/conf.d/jitsi-meet.cfg.lua
@@ -76,7 +75,6 @@ if [[ ! -f $PROSODY_CFG ]]; then
fi
prosodyctl --config $PROSODY_CFG register $JIGASI_XMPP_USER $XMPP_AUTH_DOMAIN $JIGASI_XMPP_PASSWORD
fi
fi
mkdir -p /config/certs