microblog.pub/misc/supervisord.conf

18 lines
426 B
Text
Raw Normal View History

2022-07-04 19:46:44 +00:00
[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
2022-07-05 07:15:45 +00:00
redirect_stderr=true
stdout_logfile=uvicorn.log
2022-07-04 19:46:44 +00:00
stdout_logfile_maxbytes=0
[program:worker]
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
numproc=1
2022-07-05 07:15:45 +00:00
redirect_stderr=true
stdout_logfile=worker.log
2022-07-04 19:46:44 +00:00
stdout_logfile_maxbytes=0