diff --git a/check_process b/check_process new file mode 100644 index 0000000..e69de29 diff --git a/scripts/restore b/scripts/restore index 4d12c5c..4e97e3b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -13,11 +13,12 @@ db_name=$app # retrieve useful param domain=$(ynh_app_setting_get $app domain) path=$(ynh_app_setting_get $app path) -db_pass=$(ynh_app_setting_get $app mysqlpwd) # Check domain/path availability sudo yunohost app checkurl $domain$path -a $app || ynh_die "The path ${domain}${path} is not available for app installation." +db_pass=$(ynh_app_setting_get $app mysqlpwd) + # Restore sources & data final_path=/var/www/$app ynh_backup "www" "$final_path"