From b77619fe590b66906459db40faf66f3e43d3341b Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 8 Jul 2017 17:07:32 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a930415..68f0ec5 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ ynh_app_setting_set $app port $port #================================================= # INSTALL NODEJS #================================================= - +version=6.2.0 ynh_install_nodejs 6.2.0 #================================================= @@ -122,7 +122,9 @@ sudo chmod 600 $nginxconf ynh_systemd_config ynh_replace_string "__NODEJS__" "$nodejs_use_version" "/etc/systemd/system/$app.service" ynh_replace_string "__ENV_PATH__" "$PATH" "/etc/systemd/system/$app.service" -ynh_replace_string "__SUDO_PATH__" "$nodejs_path" "/etc/systemd/system/$app.service" +ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service" + +cat /etc/systemd/system/$app.service #================================================= # Install OSjs