From 0a55518f4097cf1bcc584b8527ad3b953724da7b Mon Sep 17 00:00:00 2001 From: hidrarga Date: Fri, 8 Apr 2022 15:39:18 +0200 Subject: [PATCH] exec npm install as app user --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6bef4a4..7ec6dd2 100755 --- a/scripts/install +++ b/scripts/install @@ -107,7 +107,7 @@ ynh_add_nginx_config ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7 pushd "$final_path" - ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install popd #=================================================