From daa2b689893358172bfc5d0e6fdfa87d494f71de Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 19:36:54 -0500 Subject: [PATCH] Update conf/systemd.service --- conf/systemd.service | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 70c16de..6ccf2a0 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,10 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="PATH=__PATH_WITH_NODEJS__" Environment="NODE_ENV=production" - -# kana said this starts both, dev mode doesnt work well tho :( -ExecStart=yarn dev - +ExecStart=/usr/bin/bash -c "yarn start:backend & yarn start:frontend" Restart=always RestartSec=5 StandardOutput=append:/var/log/__APP__/__APP__.log