diff --git a/README.md b/README.md index a2c0813..de0dc26 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Monitoring tool for diverse IT components, including networks, servers, VMs and * Do not change the default admin user password. The user is disabled just after the install but is used to update templates. * The Zabbix server port is not opened by default for external monitoring (active agent). * You can add your users in a group in Zabbix (for permissions/rights). -* A Yunohost template is imported and linked to the host "Zabbix-server" (127.0.0.1) for basic monitoring for YunoHost. +* A YunoHost template is imported and linked to the host "Zabbix-server" (127.0.0.1) for basic monitoring for YunoHost. ## Documentation and resources diff --git a/README_fr.md b/README_fr.md index 36be783..bbfa1ba 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,7 +30,7 @@ Outil pour monitorer des réseaux, des serveurs, des VMs et autres services en l * Ne modifiez pas le mot de passe de l'utilisateur administrateur par défaut. L'utilisateur est désactivé juste après l'installation mais il est utilisé pour mettre à jour les modèles. * Le port du serveur Zabbix n'est pas ouvert par défaut pour la surveillance externe (agent actif). * Vous pouvez ajouter vos utilisateurs dans un groupe dans Zabbix (pour les autorisations/droits). -* Un modèle Yunohost est importé et lié à l'hôte "Zabbix-server" (127.0.0.1) pour la surveillance de base de YunoHost. +* Un modèle YunoHost est importé et lié à l'hôte "Zabbix-server" (127.0.0.1) pour la surveillance de base de YunoHost. ## Documentations et ressources * Site officiel de l'app : https://www.zabbix.com/ diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index b5d97c0..a2cb871 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -5,4 +5,4 @@ * Do not change the default admin user password. The user is disabled just after the install but is used to update templates. * The Zabbix server port is not opened by default for external monitoring (active agent). * You can add your users in a group in Zabbix (for permissions/rights). -* A Yunohost template is imported and linked to the host "Zabbix-server" (127.0.0.1) for basic monitoring for YunoHost. +* A YunoHost template is imported and linked to the host "Zabbix-server" (127.0.0.1) for basic monitoring for YunoHost. diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 7d58076..a8cc1d3 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -5,4 +5,4 @@ * Ne modifiez pas le mot de passe de l'utilisateur administrateur par défaut. L'utilisateur est désactivé juste après l'installation mais il est utilisé pour mettre à jour les modèles. * Le port du serveur Zabbix n'est pas ouvert par défaut pour la surveillance externe (agent actif). * Vous pouvez ajouter vos utilisateurs dans un groupe dans Zabbix (pour les autorisations/droits). -* Un modèle Yunohost est importé et lié à l'hôte "Zabbix-server" (127.0.0.1) pour la surveillance de base de YunoHost. \ No newline at end of file +* Un modèle YunoHost est importé et lié à l'hôte "Zabbix-server" (127.0.0.1) pour la surveillance de base de YunoHost. \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index dcc96c6..0e96805 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,12 +25,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) language=$(ynh_app_setting_get --app=$app --key=language) trustedversion="4.4-1+stretch" -if ynh_permission_has_user --permission=main --user=visitors -then - is_public=0 -else - is_public=1 -fi +is_public=$(ynh_permission_has_user --permission=main --user=visitors && echo 1 || echo 0) #================================================= # CHECK VERSION