mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
17 lines
426 B
Text
17 lines
426 B
Text
[supervisord]
|
|
|
|
[fcgi-program:uvicorn]
|
|
socket=tcp://localhost:8000
|
|
command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header --fd 0
|
|
numprocs=2
|
|
process_name=uvicorn-%(process_num)d
|
|
redirect_stderr=true
|
|
stdout_logfile=uvicorn.log
|
|
stdout_logfile_maxbytes=0
|
|
|
|
[program:worker]
|
|
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
|
|
numproc=1
|
|
redirect_stderr=true
|
|
stdout_logfile=worker.log
|
|
stdout_logfile_maxbytes=0
|