From 4341b6516f7059f34a3edec7a1313f3c8f8abf7a 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 15:02:01 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 453770d..532e581 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,10 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment=PATH=__ENV_PATH__ #Environment=NODE_ENV=production -ExecStart=__YNH_NPM__ run start -p __PORT__ + +ExecStart=__YNH_NPM__ run next start -p __PORT__ + +#ExecStart=__YNH_NPM__ run start # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these