forked from forks/microblog.pub
Tweak supervisord conf for YNH
This commit is contained in:
parent
ce15d2b0c3
commit
adcaf95ab2
1 changed files with 3 additions and 3 deletions
|
@ -6,19 +6,19 @@ command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header --fd 0
|
||||||
numprocs=2
|
numprocs=2
|
||||||
process_name=uvicorn-%(process_num)d
|
process_name=uvicorn-%(process_num)d
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=/dev/fd/1
|
stdout_logfile=%(ENV_LOG_PATH)s/uvicorn.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
|
|
||||||
[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=/dev/fd/1
|
stdout_logfile=%(ENV_LOG_PATH)s/incoming.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
|
|
||||||
[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=/dev/fd/1
|
stdout_logfile=%(ENV_LOG_PATH)s/outgoing.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
|
|
Loading…
Reference in a new issue