diff --git a/scripts/restore b/scripts/restore index e785127..8a49d21 100644 --- a/scripts/restore +++ b/scripts/restore @@ -28,6 +28,10 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_install_nodejs --nodejs_version=$nodejs_version +pushd "$install_dir" + ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate +popd + ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" mkdir -p /var/log/$app