From 2fb745704c3c4d558ab29215438b115a67676276 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2016 17:36:33 +0000 Subject: [PATCH] videobridge hostname --- src/freedombone-app-jitsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index 567f4111..3217bfbb 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -318,7 +318,11 @@ function install_jitsi { create_jitsi_subdomains # videobridge - debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string localhost" + if [[ $ONION_ONLY == 'no' ]]; then + debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_DOMAIN_NAME}" + else + debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_ONION_HOSTNAME}" + fi apt-get -yq install jitsi-videobridge if [ ! -d /etc/jitsi ]; then echo $'Videobridge package failed to install' @@ -327,8 +331,8 @@ function install_jitsi { firewall_add videobridge ${VIDEOBRIDGE_PORT} # meet - debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 2" - apt-get -yq install jitsi-meet + debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 1" + apt-get -yq install jitsi-meet jitsi-meet-prosody jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME if [[ $ONION_ONLY == "no" ]]; then