From 8124a306e0093ceb082e84c6835dff5e7e176af5 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Tue, 1 May 2018 18:03:40 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 1a515f6..1953c3b 100644 --- a/scripts/install +++ b/scripts/install @@ -112,9 +112,9 @@ ynh_system_user_create $app # Create a dedicated systemd config ynh_use_nodejs ynh_add_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 "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service" +ynh_replace_string "__NODEJS__" "$nodejs_use_version" "../conf/systemd.service" +ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service" +ynh_replace_string "__NODE__" "$nodejs_path" "../conf/systemd.service" cat /etc/systemd/system/$app.service echo $nodejs_use_version echo $PATH