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-28 22:59:20 +02:00 committed by GitHub
parent 64ccc5e25a
commit 0004503d0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
EnvironmentFile=__INSTALL_DIR__/.env EnvironmentFile=__INSTALL_DIR__/.env
Environment=NODE_ENV=production Environment=NODE_ENV=production
ExecStart=__YNH_NODE__ dist/index.js ExecStart=__YNH_NODE__ __INSTALL_DIR__/__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