From 92a4a0e0bcd276546f81a0132c0af5214a7f51b8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Jul 2019 21:18:39 +0200 Subject: [PATCH] Fix port in sip-communicator.properties --- conf/sip-communicator.properties | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/sip-communicator.properties b/conf/sip-communicator.properties index 4cd0528..24cf4ef 100644 --- a/conf/sip-communicator.properties +++ b/conf/sip-communicator.properties @@ -1,2 +1,2 @@ org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false -org.jitsi.videobridge.TCP_HARVESTER_PORT=4443 +org.jitsi.videobridge.TCP_HARVESTER_PORT=__PORT__ diff --git a/scripts/install b/scripts/install index 758d0ec..1889323 100644 --- a/scripts/install +++ b/scripts/install @@ -174,6 +174,7 @@ ynh_script_progression --message="Building Jitsi-Videobridge..." --time --weight mkdir -p "$final_path/.sip-communicator" cp ../conf/sip-communicator.properties "$final_path/.sip-communicator/sip-communicator.properties" +ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/.sip-communicator/sip-communicator.properties" chown -R $app: $final_path #=================================================