microblog.pub/misc/supervisord.conf

25 lines
624 B
Plaintext
Raw Normal View History

2022-07-04 21:46:44 +02: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 09:15:45 +02:00
redirect_stderr=true
stdout_logfile=uvicorn.log
2022-07-04 21:46:44 +02:00
stdout_logfile_maxbytes=0
2022-07-14 16:41:43 +02:00
[program:incoming_worker]
command=%(ENV_VENV_DIR)s/bin/inv process-incoming-activities
numproc=1
redirect_stderr=true
stdout_logfile=incoming_worker.log
stdout_logfile_maxbytes=0
[program:outgoing_worker]
2022-07-04 21:46:44 +02:00
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
numproc=1
2022-07-05 09:15:45 +02:00
redirect_stderr=true
2022-07-14 16:41:43 +02:00
stdout_logfile=outgoing_worker.log
2022-07-04 21:46:44 +02:00
stdout_logfile_maxbytes=0