diff --git a/manifest.json b/manifest.json index 9e441ca..811b527 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Videoconferencing server that is easy to deploy", "fr": "Serveur de visioconférence facile à déployer" }, - "version": "0.2~ynh5", + "version": "0.2~ynh6", "url": "https://galene.org/", "license": "MIT", "maintainer": { @@ -73,10 +73,6 @@ "en": "Choose a name for the group you want to create", "fr": "Choisissez un nom pour le groupe que vous voulez créer" }, - "help": { - "en": "The name will be used as filename (do not use space, dots or / in your name group).", - "fr": "Le nom sera utilisé comme nom de fichier (n'utilisez pas d'espace, de points ou / dans votre groupe de noms)." - }, "default": "public", "example": "public" } diff --git a/scripts/install b/scripts/install index 252ee13..0b25fb3 100755 --- a/scripts/install +++ b/scripts/install @@ -55,7 +55,7 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=is_public --value=$is_public -ynh_app_setting_set --app=$app --key=group_name --value=$group_name +ynh_app_setting_set --app=$app --key=group_name --value="$group_name" ynh_app_setting_set --app=$app --key=password --value=$password #================================================= @@ -203,7 +203,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 ../conf/groupname.json $final_path/groups/$group_name.json +mv "../conf/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" diff --git a/scripts/restore b/scripts/restore index 6fae177..11138fe 100755 --- a/scripts/restore +++ b/scripts/restore @@ -103,8 +103,8 @@ yunohost service add coturn-$app --description="Coturn TURN server" --log="/var/ #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/$app/$app.log" -ynh_systemd_action --service_name=coturn-$app.service --action=restart --log_path="/var/log/$app/turnserver.log" +ynh_systemd_action --service_name=$app --action=start --log_path="/var/log/$app/$app.log" +yunohost service add coturn-$app --needs_exposed_ports $turnserver_tls_port #================================================= # CREATE A DH FILE