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