Fix supervisord config for yhn

This commit is contained in:
Thomas Sileo 2022-08-21 18:13:21 +02:00
parent 8837acd57f
commit 55eb4e6391

View file

@ -1,7 +1,7 @@
[supervisord]
[fcgi-program:uvicorn]
socket=tcp://localhost:%(ENV_UVICORN_PORT)
socket=tcp://localhost:%(ENV_UVICORN_PORT)s
command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header --fd 0
numprocs=2
process_name=uvicorn-%(process_num)d