From 241a400cc64004537b85b410d5d2f616e55535c6 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 29 Oct 2023 16:43:27 +0100 Subject: [PATCH] Fix red.js location --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index c5e26ec..ec205d3 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,8 +8,8 @@ User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=__YNH_NODE__ red.js -p __PORT__ -u __INSTALL_DIR__/data -StandardOutput=syslog +ExecStart=__YNH_NODE__ __INSTALL_DIR__/packages/node-red/red.js -p __PORT__ -u __INSTALL_DIR__/data +StandardOutput=journal StandardError=inherit # Sandboxing options to harden security