From 3848badc64a4dd4472e76763d4ab601c84f560f4 Mon Sep 17 00:00:00 2001 From: mike dupont Date: Wed, 18 Dec 2024 21:59:04 -0500 Subject: [PATCH] fix the service name --- systemd/uvicorn.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/uvicorn.service b/systemd/uvicorn.service index 7618cf6..569aa71 100644 --- a/systemd/uvicorn.service +++ b/systemd/uvicorn.service @@ -25,7 +25,7 @@ ExecStart=/usr/bin/unbuffer ROOT/var/swarms/agent_workspace/.venv/bin/uvicorn \ --forwarded-allow-ips='*' \ --workers=4 \ --port=5474 \ - main:create_app + api:app ExecReload=/bin/kill -HUP ${MAINPID} RestartSec=10