diff --git a/doc/ADMIN.md b/doc/ADMIN.md index e3f378d..79ee96c 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,9 +1,3 @@ -## Configuration - -You need to install TURN server in a root or subdomain like `__DOMAIN__` - -How to configure this app: a plain file with SSH. - ## Testing For testing we can use Trickle-Ice testing tool. Go to [trickle-ice page](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) and enter following details. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index d20abe8..869a0a3 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,7 +1,3 @@ -## Configuration - -Vous devez installer coTURN à la racine ou un sous-domaine comme `__DOMAIN__` - ## Testing Pour les tests, vous pouvez utiliser l'outil de test Trickle-Ice. Accédez à la page [trickle-ice](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) et entrez les détails suivants. diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100644 index 0000000..f61ef2f --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1 @@ +Le serveur TURN est un serveur et une passerelle NAT pour le trafic multimédia VoIP. Il peut également être utilisé comme serveur et passerelle TURN de trafic réseau à usage général. \ No newline at end of file diff --git a/scripts/install b/scripts/install index 6d9b4cc..4cf58ec 100644 --- a/scripts/install +++ b/scripts/install @@ -20,9 +20,6 @@ ynh_app_setting_set --app=$app --key=no_sso --value=true #================================================= ynh_script_progression --message="Creating a dhparam file..." --weight=3 -# WARNING : theses command are used in INSTALL, UPGRADE, RESTORE -# For any update do it in all files - # Make dhparam cert for Coturn if it doesn't exist if [ ! -e /etc/ssl/private/dh2048.pem ] then @@ -55,9 +52,6 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Configuring Coturn..." --weight=1 -# WARNING: theses command are used in INSTALL, UPGRADE -# For any update do it in all files - # Find password for turnserver turnserver_pwd=$(ynh_string_random --length=30) ynh_app_setting_set --app=$app --key=turnserver_pwd --value=$turnserver_pwd @@ -82,7 +76,6 @@ ynh_store_file_checksum --file="$coturn_config_path" # ADD SCRIPT FOR COTURN CRON #================================================= -# WARNING : theses command are used in INSTALL, UPGRADE # For any update do it in all files cp -f ../sources/Coturn_config_rotate.sh $data_dir/ ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file=$data_dir/Coturn_config_rotate.sh diff --git a/scripts/restore b/scripts/restore index 3c4a2e0..6e893d4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -42,9 +42,6 @@ adduser turnserver ssl-cert #================================================= ynh_script_progression --message="Creating a dhparam file..." --weight=3 -# WARNING : theses command are used in INSTALL, UPGRADE, RESTORE -# For any update do it in all files - # Make dhparam cert for Coturn if it doesn't exist if [ ! -e /etc/ssl/private/dh2048.pem ] then diff --git a/scripts/upgrade b/scripts/upgrade index 8297176..a4210cb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,9 +49,6 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Configuring Coturn..." --weight=2 -# WARNING: theses command are used in INSTALL, UPGRADE -# For any update do it in all files - coturn_config_path="/etc/turnserver.conf" ynh_add_config --template="../conf/turnserver.conf" --destination="$coturn_config_path" @@ -72,8 +69,6 @@ ynh_store_file_checksum --file="$coturn_config_path" # ADD SCRIPT FOR COTURN CRON #================================================= -# WARNING : theses command are used in INSTALL, UPGRADE -# For any update do it in all files cp -f ../sources/Coturn_config_rotate.sh $data_dir/ ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file=$data_dir/Coturn_config_rotate.sh