From 2d7ff15ebe208952bb9fb33dab3dba20c079e727 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Wed, 15 Oct 2025 17:00:52 +0100 Subject: [PATCH] infra: run systemd exec with node not npm --- systemd/eolas-api.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/eolas-api.service b/systemd/eolas-api.service index 371867d..a110a11 100644 --- a/systemd/eolas-api.service +++ b/systemd/eolas-api.service @@ -6,7 +6,7 @@ After=network.target Type=simple User=deploy 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 [Install]