From 0004503d0c6fd23e0ba070ad358de342e800ebb1 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 28 Oct 2023 22:59:20 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 48b36ea..4e95b7d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ EnvironmentFile=__INSTALL_DIR__/.env Environment=NODE_ENV=production -ExecStart=__YNH_NODE__ dist/index.js +ExecStart=__YNH_NODE__ __INSTALL_DIR__/__YNH_NPM__ run start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-failure