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-29 11:56:14 +01:00 committed by GitHub
parent e2269f84cb
commit 843413779f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,10 @@ After=network-online.target
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
WorkingDirectory=__INSTALL_DIR__/terraforming-mars
EnvironmentFile=__INSTALL_DIR__/.env
Environment=NODE_ENV=production
ExecStart=__INSTALL_DIR__/terraforming-mars/__YNH_NPM__ run start
ExecStart=npm run start
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
Restart=on-failure