From f4805d6996af14fb4715a240ce6f53c8f32be5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 18 Feb 2017 11:41:31 +0100 Subject: [PATCH] Add check_process --- check_process | 62 ++++++++++++++++++++++++++++--------------------- scripts/upgrade | 2 -- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/check_process b/check_process index c774682..53881e3 100644 --- a/check_process +++ b/check_process @@ -1,27 +1,35 @@ -;; Test complet - auto_remove=1 - ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) - language="fr" - is_public="Yes" (PUBLIC|public=Yes|private=No) - password="pass" (PASSWORD) - port="666" (PORT) - ; Checks - pkg_linter=1 - setup_sub_dir=1 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - backup_restore=1 - multi_instance=1 - wrong_user=1 - wrong_path=1 - incorrect_path=1 - corrupt_source=0 - fail_download_source=0 - port_already_use=1 - final_path_already_use=0 +;; General + auto_remove=1 +# Commentaire ignoré + ; Manifest + domain="$DOMAIN" (DOMAIN) + path="$PATH" (PATH) + is_public=1 (PUBLIC|public=1|private=0) + ; Checks + pkg_linter=1 + setup_sub_dir=1 + setup_root=1 + setup_nourl=0 + setup_private=1 + setup_public=1 + upgrade=1 + backup_restore=1 + multi_instance=0 + wrong_user=1 + wrong_path=1 + incorrect_path=1 + corrupt_source=1 + fail_download_source=1 + port_already_use=1 (8008) + final_path_already_use=1 +;;; Levels + Level 1=auto + Level 2=auto + Level 3=auto + Level 4=1 + Level 5=auto + Level 6=auto + Level 7=auto + Level 8=0 + Level 9=0 + Level 10=0 \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index 495952f..f8b8dec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -12,10 +12,8 @@ path=$(ynh_app_setting_get $app path) is_public=$(ynh_app_setting_get $app is_public) synapse_port=$(ynh_app_setting_get $app synapse_port) synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port) -turnserver_dbpass=$(ynh_app_setting_get "$app" turnserver_mysqlpwd) turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port) turnserver_pwd=$(ynh_app_setting_get $app turnserver_pwd) -turnserver_dbuser="turnserver" CHECK_PATH # Vérifie et corrige la syntaxe du path.