From 13e1f74da837a4921896e39d9e905f0f0be31e30 Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 29 Jan 2019 07:02:59 +0100 Subject: [PATCH] fix node path --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e0e1e6a..8495d70 100644 --- a/scripts/install +++ b/scripts/install @@ -203,7 +203,7 @@ ynh_replace_string "res.writeHead(200)" "res.writeHead(200, {\"content-type\": \ ### - And the section "SETUP SYSTEMD" in the upgrade script # Create a dedicated systemd config -ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service" +ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service" ynh_add_systemd_config systemctl start $app