infra: run systemd exec with node not npm
All checks were successful
Deploy eolas-api / deploy (push) Successful in 25s
All checks were successful
Deploy eolas-api / deploy (push) Successful in 25s
This commit is contained in:
parent
5ba2c68fd5
commit
2d7ff15ebe
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=deploy
|
User=deploy
|
||||||
WorkingDirectory=/var/www/eolas-api
|
WorkingDirectory=/var/www/eolas-api
|
||||||
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/npm run start
|
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/node /var/www/eolas-api/src/index.js
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue