Update conf/systemd.service
This commit is contained in:
parent
2604c082f9
commit
29283fa641
1 changed files with 4 additions and 0 deletions
|
@ -7,7 +7,11 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
Environment=PATH=__YNH_NODE_LOAD_PATH__
|
||||
Environment="NODE_ENV=production"
|
||||
ExecStart=yarn start
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||
StandardError=inherit
|
||||
|
||||
|
|
Loading…
Reference in a new issue