This commit is contained in:
Éric Gaspar
2023-03-25 21:16:15 +01:00
parent d8efea5def
commit d6cceaa924
10 changed files with 195 additions and 147 deletions

View File

@ -6,10 +6,10 @@ After=syslog.target network.target
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
WorkingDirectory=__INSTALL_DIR__/
Environment="NODE_ENV=production"
#Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NODE__ __FINALPATH__/server/bin/prod.js
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server/bin/prod.js
Restart=always
# Sandboxing options to harden security