From f7ed7462a28bb39cb21635a1e8f951c9a3740452 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 24 Apr 2021 00:07:13 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c88762f..70c0007 100644 --- a/scripts/install +++ b/scripts/install @@ -118,6 +118,7 @@ chown -R $app: $final_path pushd $final_path || ynh_die ynh_use_nodejs + npm install -g npm@latest ynh_exec_as $app env $ynh_node_load_PATH src/bin/installDeps.sh popd || ynh_die @@ -147,7 +148,7 @@ chmod 600 $final_path/credentials.json ynh_script_progression --message="Configuring a systemd service..." --weight=4 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node_load_PATH" +ynh_add_systemd_config #================================================= # INTEGRATE SERVICE IN YUNOHOST