From c79ab3e5f52e477feb113cff288741f56e6a7909 Mon Sep 17 00:00:00 2001 From: Florentin Labelle <florentin.labelle@student-cs.fr> Date: Wed, 12 Oct 2022 10:17:47 +0200 Subject: [PATCH] Update service --- deploy/calculator.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/calculator.service b/deploy/calculator.service index 8fdabe0..49221fe 100644 --- a/deploy/calculator.service +++ b/deploy/calculator.service @@ -4,9 +4,9 @@ StartLimitIntervalSec=0 [Service] Type=simple -ExecStart=python3 -m uvicorn server:app --port 80 --host 0.0.0.0 +ExecStart=python3 -m uvicorn calculator.server:app --port 80 --host 0.0.0.0 User=root -WorkingDirectory=/var/www/cicd/calculator +WorkingDirectory=/var/www/cicd [Install] WantedBy=multi-user.target -- GitLab