1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/reiverr_ynh.git synced 2024-09-03 20:16:14 +02:00

Update systemd.service

This commit is contained in:
Thomas 2023-10-29 11:55:22 +01:00 committed by GitHub
parent 935c70bc80
commit e250fd7abc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
Environment=NODE_ENV=production Environment=NODE_ENV=production
ExecStart=__INSTALL_DIR__/__YNH_NPM__ run deploy EnvironmentFile=__INSTALL_DIR__/.env
ExecStart=npm run deploy
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit