Update conf/systemd.service

This commit is contained in:
denis 2024-11-15 12:16:59 -05:00
parent 2604c082f9
commit 29283fa641

View file

@ -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