From 6890b66de59768090bb176bd069604a954e7c96a Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Mon, 3 Feb 2020 16:48:46 -0600 Subject: [PATCH] move to tpl for config.js --- web/rootfs/etc/cont-init.d/10-config | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/web/rootfs/etc/cont-init.d/10-config b/web/rootfs/etc/cont-init.d/10-config index 075ad4b..426e627 100644 --- a/web/rootfs/etc/cont-init.d/10-config +++ b/web/rootfs/etc/cont-init.d/10-config @@ -62,13 +62,7 @@ if [[ ! -f /config/nginx/site-confs/default ]]; then fi if [[ ! -f /config/config.js ]]; then - cp /defaults/config.js /config/config.js - sed -i \ - -e "s#jitsi-meet.example.com#$XMPP_DOMAIN#g" \ - -e "s#bosh:.*#bosh: '/http-bind',#" \ - -e "s#muc:.*#muc: '${XMPP_MUC_DOMAIN}',#" \ - -e "s#// focusUserJid:.*#focusUserJid: '${JICOFO_AUTH_USER}@${XMPP_AUTH_DOMAIN}',#" \ - /config/config.js + tpl /defaults/config.js > /config/config.js if [[ $ENABLE_RECORDING -eq 1 || x$ENABLE_RECORDING == xtrue ]]; then sed -i \