Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Disables tcp harvester if bridge is installed on same machine.
damenchoe01d891bba2a
diff --git a/debian/jitsi-meet-web-config.postinst b/debian/jitsi-meet-web-config.postinstindex fcd76fb099..d756858f1c 100644--- a/debian/jitsi-meet-web-config.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -48,7 +48,6 @@ case "$1" inif [ -n "$RET" ] && [ "$RET" = "true" ] ; thenJVB_SERVE="true"fi- echo "------> $JVB_SERVE"# stores the hostname so we will reuse it later, like in purgedb_set jitsi-meet/jvb-hostname $JVB_HOSTNAME@@ -106,6 +105,8 @@ case "$1" insed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" $JITSI_MEET_CONFIGfi+ JVB_CONFIG="/etc/jitsi/videobridge/sip-communicator.properties"+# this is new install let's configure jvb to serve meet# no-nginx, no-apache installed on machine, this is new install or reconfiguring old one which have jvb_serve setif [[ "$JVB_SERVE" = "true" ]] ; then@@ -113,13 +114,19 @@ case "$1" inecho "------------------------------------------------"echo "You are using jetty to serve jitsi-meet, it is recommended to uninstall(purge) and use default installation that comes with nginx!"echo ""- echo "When using the following command any custom config will be LOST!!!"+ echo "When using the following command, any custom config will be LOST, please backup /etc/jitsi !!!"echo ""echo "You can purge your installation using the following command:"echo "apt-get purge jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-web jicofo jitsi-videobridge"echo "------------------------------------------------"echo ""elif [[ "$FORCE_NGINX" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then+ # disables tcp harvester to make sure jvb will not take port 443+ if [[ -f $JVB_CONFIG ]] && ! grep -q "org.jitsi.videobridge.DISABLE_TCP_HARVESTER" "$JVB_CONFIG" ;then+ echo "org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true" >> $JVB_CONFIG+ invoke-rc.d jvb restart || true+ fi+# this is a reconfigure, lets just delete old linksif [ "$RECONFIGURING" = "true" ] ; thenrm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME_OLD.conf@@ -149,6 +156,12 @@ case "$1" ininvoke-rc.d nginx reload || trueelif [[ "$FORCE_APACHE" = "true" && ( -z "$JVB_HOSTNAME_OLD" || "$RECONFIGURING" = "true" ) ]] ; then+ # disables tcp harvester to make sure jvb will not take port 443+ if [[ -f $JVB_CONFIG ]] && ! grep -q "org.jitsi.videobridge.DISABLE_TCP_HARVESTER" "$JVB_CONFIG" ;then+ echo "org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true" >> $JVB_CONFIG+ invoke-rc.d jvb restart || true+ fi+# this is a reconfigure, lets just delete old linksif [ "$RECONFIGURING" = "true" ] ; thena2dissite $JVB_HOSTNAME_OLD.conf