diff --git a/conf/systemd.service b/conf/systemd.service index 726fa1d..4db7577 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,10 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="PATH=__PATH_WITH_NODEJS__" Environment="NODE_ENV=production" -ExecStart=yarn start:backend & yarn start:frontend + +# kana said this starts both +ExecStart=yarn dev + Restart=always RestartSec=5 StandardOutput=append:/var/log/__APP__/__APP__.log