diff --git a/conf/ice-servers.json b/conf/ice-servers.json index da2c5d5..320489d 100644 --- a/conf/ice-servers.json +++ b/conf/ice-servers.json @@ -2,33 +2,10 @@ { "urls": [ "turn:__DOMAIN__:__TLS_PORT__", - "turn:__DOMAIN__:__TLS_PORT__?transport=tcp" - ], - "username": "__APP__", - "credential": "__TURNPWD__", - "credentialType": "hmac-sha1" - }, - { - "urls": [ - "turn:__DOMAIN__:__TLS_ALT_PORT__", - "turn:__DOMAIN__:__TLS_ALT_PORT__?transport=tcp" - ], - "username": "__APP__", - "credential": "__TURNPWD__", - "credentialType": "hmac-sha1" - }, - { - "urls": [ - "turn:__DOMAIN__:__TLS_PORT__", - "turn:__DOMAIN__:__TLS_PORT__?transport=udp" - ], - "username": "__APP__", - "credential": "__TURNPWD__", - "credentialType": "hmac-sha1" - }, - { - "urls": [ "turn:__DOMAIN__:__TLS_ALT_PORT__", + "turn:__DOMAIN__:__TLS_PORT__?transport=tcp", + "turn:__DOMAIN__:__TLS_ALT_PORT__?transport=tcp", + "turn:__DOMAIN__:__TLS_PORT__?transport=udp", "turn:__DOMAIN__:__TLS_ALT_PORT__?transport=udp" ], "username": "__APP__", diff --git a/scripts/install b/scripts/install index 00236b0..ab2463f 100755 --- a/scripts/install +++ b/scripts/install @@ -209,7 +209,7 @@ cp ../conf/passwd $final_path/data/passwd ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/data/passwd" ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/data/passwd" -mv -f $final_path/groups/groupname.json $final_path/groups/$group_name.json +mv $final_path/groups/groupname.json $final_path/groups/$group_name.json ynh_replace_string --match_string=__ADMIN__ --replace_string=$admin --target_file="$final_path/groups/$group_name.json" ynh_replace_string --match_string=__PASSWORD__ --replace_string=$password --target_file="$final_path/groups/$group_name.json"