diff --git a/scripts/install b/scripts/install index 299263e..15194b1 100755 --- a/scripts/install +++ b/scripts/install @@ -131,6 +131,9 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring a systemd service..." +ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__YNH_NPM__" --replace_string="$ynh_npm" --target_file="../conf/systemd.service" + # Create a dedicated systemd config ynh_add_systemd_config