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