|
@@ -318,7 +318,11 @@ function install_jitsi {
|
318
|
318
|
create_jitsi_subdomains
|
319
|
319
|
|
320
|
320
|
# videobridge
|
321
|
|
- debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string localhost"
|
|
321
|
+ if [[ $ONION_ONLY == 'no' ]]; then
|
|
322
|
+ debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_DOMAIN_NAME}"
|
|
323
|
+ else
|
|
324
|
+ debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_ONION_HOSTNAME}"
|
|
325
|
+ fi
|
322
|
326
|
apt-get -yq install jitsi-videobridge
|
323
|
327
|
if [ ! -d /etc/jitsi ]; then
|
324
|
328
|
echo $'Videobridge package failed to install'
|
|
@@ -327,8 +331,8 @@ function install_jitsi {
|
327
|
331
|
firewall_add videobridge ${VIDEOBRIDGE_PORT}
|
328
|
332
|
|
329
|
333
|
# meet
|
330
|
|
- debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 2"
|
331
|
|
- apt-get -yq install jitsi-meet
|
|
334
|
+ debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 1"
|
|
335
|
+ apt-get -yq install jitsi-meet jitsi-meet-prosody
|
332
|
336
|
|
333
|
337
|
jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME
|
334
|
338
|
if [[ $ONION_ONLY == "no" ]]; then
|