From 3a72ca4bfd96081ab007ccce2dbd207278ea78a0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 10 May 2021 15:26:09 +0200 Subject: [PATCH] Fix --- README.md | 8 ++------ README_fr.md | 8 ++------ scripts/_common.sh | 2 +- scripts/change_url | 6 +++--- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 8 files changed, 13 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 90881b7..64ca3c5 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,6 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/inst ![](https://raw.githubusercontent.com/Awesome-Technologies/synapse-admin/master/screenshots.jpg) -## Demo - -* [Official demo]() - ## Configuration ## Documentation @@ -31,8 +27,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/inst #### Multi-user support -* Is LDAP supported? **Yes** -* Can the app be used by multiple users? **Yes** +* Is LDAP supported? **NO** +* Can the app be used by multiple users? **NO** #### Supported architectures diff --git a/README_fr.md b/README_fr.md index 5f05b6b..262b0c0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,10 +17,6 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ![](https://raw.githubusercontent.com/Awesome-Technologies/synapse-admin/master/screenshots.jpg) -## Démo - -* [Démo officielle]() - ## Configuration ## Documentation @@ -32,8 +28,8 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) #### Support multi-utilisateur -* L'authentification LDAP est-elle prise en charge ? **Oui** -* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Oui** +* L'authentification LDAP est-elle prise en charge ? **Non** +* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Non** #### Architectures supportées diff --git a/scripts/_common.sh b/scripts/_common.sh index bf7ab7a..b9bfcbe 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app pkg_dependencies="" -nodejs_version=14 +nodejs_version=12 #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index aaf0fd4..9d6c716 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -33,7 +33,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before changing its url (may take a while)..." --weight=1 +ynh_script_progression --message="Backing up $app before changing its URL (may take a while)..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -70,7 +70,7 @@ fi #================================================= ynh_script_progression --message="Stopping a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=stop --log_path="/var/log/$app/$app.log" #================================================= # MODIFY URL IN NGINX CONF @@ -109,7 +109,7 @@ fi ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP Server listening" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="HTTP Server listening" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index a15638a..c7cdcd9 100644 --- a/scripts/install +++ b/scripts/install @@ -158,7 +158,7 @@ fi #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading Nginx web server..." --weight=2 +ynh_script_progression --message="Reloading NGINX web server..." --weight=2 ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/remove b/scripts/remove index 5c7969d..3003512 100644 --- a/scripts/remove +++ b/scripts/remove @@ -62,7 +62,7 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Removing Nginx web server configuration..." --weight=5 +ynh_script_progression --message="Removing NGINX web server configuration..." --weight=5 # Remove the dedicated nginx config ynh_remove_nginx_config diff --git a/scripts/restore b/scripts/restore index a367334..8ca7db9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -42,7 +42,7 @@ test ! -d $final_path \ #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the nginx configuration..." +ynh_script_progression --message="Restoring the NGINX configuration..." ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" @@ -112,7 +112,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading Nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 72f9a1a..df1a56e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -81,7 +81,7 @@ fi #================================================= # NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Upgrading Nginx web server configuration..." --weight=2 +ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2 # Create a dedicated nginx config ynh_add_nginx_config