fix: systemd unit
- add missing working directory - use npm binary as exec
This commit is contained in:
parent
0edd977cd4
commit
df04b1ba7e
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=deploy
|
User=deploy
|
||||||
WorkingDirectory=
|
WorkingDirectory=/var/www/eolas-api
|
||||||
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/node npm run start
|
ExecStart=/home/deploy/.nvm/versions/node/v24.10.0/bin/npm run start
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue