From b0d42eda33258d1c739e1243bec9e08b5c2d4e43 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Thu, 9 Mar 2017 00:38:53 +0100 Subject: [PATCH] =?UTF-8?q?Variable=20d=C3=A9precier=20et=20check=5Fproces?= =?UTF-8?q?s=20multisite=20supprim=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check_process | 25 ------------------------- scripts/backup | 2 +- scripts/restore | 2 +- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/check_process b/check_process index c6c6846..eb7a25c 100644 --- a/check_process +++ b/check_process @@ -24,31 +24,6 @@ fail_download_source=0 port_already_use=0 final_path_already_use=0 -;; Test avec multisite - auto_remove=1 - ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) - language="fr_FR" - multisite="Yes" - is_public="Yes" (PUBLIC|public=Yes|private=No) - ; Checks - setup_sub_dir=1 - setup_root=0 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - backup_restore=1 - multi_instance=1 - wrong_user=0 - wrong_path=0 - incorrect_path=0 - corrupt_source=0 - fail_download_source=0 - port_already_use=0 - final_path_already_use=0 ;;; Levels Level 1=auto Level 2=auto diff --git a/scripts/backup b/scripts/backup index 419c0d3..973e26a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -4,7 +4,7 @@ set -eu # The parameter $1 is the backup directory location dedicated to the app -backup_dir=$1 +backup_dir=$YNH_APP_ARG_PATH # The parameter $2 is theid of the app instance app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/restore b/scripts/restore index daccfe9..dfe5e06 100644 --- a/scripts/restore +++ b/scripts/restore @@ -5,7 +5,7 @@ set -eu # The parameter $1 is the backup directory location dedicated to the app -backup_dir=$1 +backup_dir=$YNH_APP_ARG_PATH # The parameter $2 is the id of the app instance ex: ynhexample__2 app=$YNH_APP_INSTANCE_NAME