From c6dbfba3a13bb291d3ddb669d04d9dc9dab2b83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 2 May 2023 14:42:09 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 18c31ce..453770d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,11 +6,11 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -Environment="NODE_PORT=__PORT__" +#Environment="NODE_PORT=__PORT__" WorkingDirectory=__INSTALL_DIR__/ Environment=PATH=__ENV_PATH__ -Environment=NODE_ENV=production -ExecStart=__YNH_NPM__ run start +#Environment=NODE_ENV=production +ExecStart=__YNH_NPM__ run start -p __PORT__ # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these