Update conf/systemd.service
This commit is contained in:
parent
73da04f533
commit
7b3cdbd3e3
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +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=yarn start
|
ExecStart=yarn start:backend & yarn start:frontend
|
||||||
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