From 22f88547539d17c87928cf4b20141a9f1ab301ef Mon Sep 17 00:00:00 2001 From: stuppie Date: Wed, 4 Nov 2026 12:19:29 -0600 Subject: trying the robot's suggestion on how to stop this supervisor ProtocolError when restarting --- amt-jb.conf | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/amt-jb.conf b/amt-jb.conf index 8bd87c6..37d2052 100644 --- a/amt-jb.conf +++ b/amt-jb.conf @@ -1,14 +1,10 @@ -[fcgi-program:amt-jb] -socket=tcp://localhost:8000 -command=/root/amt-jb-venv/bin/uvicorn --fd 0 --timeout-keep-alive 35 --env-file .env jb.main:app +[program:amt-jb] +command=/root/amt-jb-venv/bin/uvicorn --host 127.0.0.1 --port 8000 --workers 2 --timeout-keep-alive 35 --env-file .env jb.main:app directory=/root/amt-jb user=root priority=999 autostart=true autorestart=true -numprocs=2 -numprocs_start=1 -process_name=uvicorn-%(process_num)d -environment=LD_LIBRARY_PATH="/usr/local/lib:" stopasgroup=true -killasgroup=true \ No newline at end of file +killasgroup=true +environment=LD_LIBRARY_PATH="/usr/local/lib:" \ No newline at end of file -- cgit v1.2.3