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 #=================================================