infra: add Node env vars to systemd service
All checks were successful
Deploy eolas-api / deploy (push) Successful in 31s
All checks were successful
Deploy eolas-api / deploy (push) Successful in 31s
This commit is contained in:
parent
128eb4f79a
commit
cde7d5feb4
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ After=network.target
|
|||
Type=simple
|
||||
User=deploy
|
||||
WorkingDirectory=/var/www/eolas-api
|
||||
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/node /var/www/eolas-api/src/index.js
|
||||
Environment="NODE_OPTIONS=--experimental-sqlite"
|
||||
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/node --env-file=.env /var/www/eolas-api/src/index.js
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue