diff --git a/scripts/install b/scripts/install index 42391be..3ec8d24 100644 --- a/scripts/install +++ b/scripts/install @@ -110,8 +110,9 @@ ynh_system_user_create $app #================================================= # Create a dedicated systemd config -ynh_replace_string "__NODEJS__" "$nodejs_use_version" "../conf/systemd.service" -ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service" +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 "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service" ynh_add_systemd_config #=================================================