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