diff --git a/docker/worker/supervisord.conf b/docker/worker/supervisord.conf index ff890d4..d20b963 100644 --- a/docker/worker/supervisord.conf +++ b/docker/worker/supervisord.conf @@ -4,6 +4,17 @@ logfile=/dev/null logfile_maxbytes=0 pidfile=/run/supervisord.pid +[program:torsearch-worker] +command=/app/bin/console messenger:consume async -vv --time-limit 3600 +numprocs=1 +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 +autorestart=true +startretries=3 +process_name=%(program_name)s_%(process_num)02d + [program:torsearch-worker] command=/app/bin/console messenger:consume download -vv --time-limit 3600 numprocs=1