diff --git a/__services/bookcars.service b/__services/bookcars.service index 5cf2c1737..d4329910b 100644 --- a/__services/bookcars.service +++ b/__services/bookcars.service @@ -4,7 +4,7 @@ Wants=mongod.service After=mongod.service [Service] -ExecStart=/usr/bin/node -r dotenv/config app.js +ExecStart=/usr/bin/npm start WorkingDirectory=/opt/bookcars/api Type=simple Restart=always