Update conf/systemd.service

This commit is contained in:
denis 2024-11-15 19:29:46 -05:00
parent 818bc8b5cd
commit 7af3a8b5e6

View file

@ -9,7 +9,10 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Environment="PATH=__PATH_WITH_NODEJS__" Environment="PATH=__PATH_WITH_NODEJS__"
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
ExecStart=yarn start:backend & yarn start:frontend
# kana said this starts both
ExecStart=yarn dev
Restart=always Restart=always
RestartSec=5 RestartSec=5
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log