Przeglądaj źródła

videobridge hostname

Bob Mottram 8 lat temu
rodzic
commit
2fb745704c
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7
    3
      src/freedombone-app-jitsi

+ 7
- 3
src/freedombone-app-jitsi Wyświetl plik

318
     create_jitsi_subdomains
318
     create_jitsi_subdomains
319
 
319
 
320
     # videobridge
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
     apt-get -yq install jitsi-videobridge
326
     apt-get -yq install jitsi-videobridge
323
     if [ ! -d /etc/jitsi ]; then
327
     if [ ! -d /etc/jitsi ]; then
324
         echo $'Videobridge package failed to install'
328
         echo $'Videobridge package failed to install'
327
     firewall_add videobridge ${VIDEOBRIDGE_PORT}
331
     firewall_add videobridge ${VIDEOBRIDGE_PORT}
328
 
332
 
329
     # meet
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
     jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME
337
     jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME
334
     if [[ $ONION_ONLY == "no" ]]; then
338
     if [[ $ONION_ONLY == "no" ]]; then