videobridge hostname

This commit is contained in:
Bob Mottram 2016-11-09 17:36:33 +00:00
parent 3160161868
commit 2fb745704c
1 changed files with 7 additions and 3 deletions

View File

@ -318,7 +318,11 @@ function install_jitsi {
create_jitsi_subdomains create_jitsi_subdomains
# videobridge # 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 apt-get -yq install jitsi-videobridge
if [ ! -d /etc/jitsi ]; then if [ ! -d /etc/jitsi ]; then
echo $'Videobridge package failed to install' echo $'Videobridge package failed to install'
@ -327,8 +331,8 @@ function install_jitsi {
firewall_add videobridge ${VIDEOBRIDGE_PORT} firewall_add videobridge ${VIDEOBRIDGE_PORT}
# meet # meet
debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 2" debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 1"
apt-get -yq install jitsi-meet apt-get -yq install jitsi-meet jitsi-meet-prosody
jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME
if [[ $ONION_ONLY == "no" ]]; then if [[ $ONION_ONLY == "no" ]]; then