Update conf/systemd.service
This commit is contained in:
parent
f03887c5fe
commit
daa2b68989
1 changed files with 1 additions and 4 deletions
|
@ -9,10 +9,7 @@ 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=/usr/bin/bash -c "yarn start:backend & yarn start:frontend"
|
||||||
# kana said this starts both, dev mode doesnt work well tho :(
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue