Tweak supervisord conf

main
Thomas Sileo 2022-07-14 16:41:43 +02:00
parent 9ada12d1e3
commit a3836f56a4
1 changed files with 9 additions and 2 deletions

View File

@ -9,9 +9,16 @@ redirect_stderr=true
stdout_logfile=uvicorn.log
stdout_logfile_maxbytes=0
[program:worker]
[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]
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
numproc=1
redirect_stderr=true
stdout_logfile=worker.log
stdout_logfile=outgoing_worker.log
stdout_logfile_maxbytes=0