1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/terraforming-mars_ynh.git synced 2024-09-03 20:36:05 +02:00

Update systemd.service

This commit is contained in:
Thomas 2023-10-31 18:28:14 +01:00 committed by GitHub
parent 5657aaea0a
commit 6f86aa7f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ WorkingDirectory=__INSTALL_DIR__/terraforming-mars
EnvironmentFile=__INSTALL_DIR__/.env EnvironmentFile=__INSTALL_DIR__/.env
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
Environment=NODE_ENV=production Environment=NODE_ENV=production
ExecStart=__YNH_NPM__ run start ExecStart=__YNH_NODE__ __YNH_NPM__ run start
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit
Restart=on-failure Restart=on-failure