aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-11-04 12:19:29 -0600
committerstuppie2026-11-04 12:19:29 -0600
commit22f88547539d17c87928cf4b20141a9f1ab301ef (patch)
tree7019988b12700e07e9ddd087e5cb16e6bc2fc4c3
parent671a7b1b02503cfa5c9aecd40c27a0c2729a285b (diff)
downloadamt-jb-master.tar.gz
amt-jb-master.zip
trying the robot's suggestion on how to stop this supervisor ProtocolError when restartingHEADmaster
-rw-r--r--amt-jb.conf12
1 files 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