From 7b3cdbd3e3e16c548df94c9df62bf2fc2a3b6495 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 18:58:43 -0500 Subject: [PATCH] Update conf/systemd.service --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 2d1bbe3..726fa1d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="PATH=__PATH_WITH_NODEJS__" Environment="NODE_ENV=production" -ExecStart=yarn start +ExecStart=yarn start:backend & yarn start:frontend Restart=always RestartSec=5 StandardOutput=append:/var/log/__APP__/__APP__.log