mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Tweak supervisord config
This commit is contained in:
parent
1a7e9e4565
commit
c275d7064e
1 changed files with 3 additions and 3 deletions
|
@ -5,18 +5,18 @@ command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header
|
||||||
numprocs=1
|
numprocs=1
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=uvicorn.log
|
stdout_logfile=uvicorn.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=50MB
|
||||||
|
|
||||||
[program:incoming_worker]
|
[program:incoming_worker]
|
||||||
command=%(ENV_VENV_DIR)s/bin/inv process-incoming-activities
|
command=%(ENV_VENV_DIR)s/bin/inv process-incoming-activities
|
||||||
numproc=1
|
numproc=1
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=incoming_worker.log
|
stdout_logfile=incoming_worker.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=50MB
|
||||||
|
|
||||||
[program:outgoing_worker]
|
[program:outgoing_worker]
|
||||||
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
|
command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities
|
||||||
numproc=1
|
numproc=1
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=outgoing_worker.log
|
stdout_logfile=outgoing_worker.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=50MB
|
||||||
|
|
Loading…
Reference in a new issue