-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisor.conf
30 lines (28 loc) · 824 Bytes
/
supervisor.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[program:rstuf_worker]
command = celery -A app worker -l info -Q metadata_repository -n rstuf@%(ENV_RSTUF_WORKER_ID)s
directory = /opt/repository-service-tuf-worker
startsecs = 5
autostart = true
autorestart = true
stopwaitsecs = 300
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:rstuf_worker_jobs]
command = celery -A app worker -B -l info -Q rstuf_internals -n rstuf_jobs@%(ENV_RSTUF_WORKER_ID)s
directory = /opt/repository-service-tuf-worker
startsecs = 5
autostart = true
autorestart = true
stopwaitsecs = 300
stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[supervisord]
loglevel = info
nodaemon = true
pidfile = /tmp/supervisord.pid
logfile = /dev/null
logfile_maxbytes = 0