forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
celeryd.conf
31 lines (25 loc) · 804 Bytes
/
celeryd.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
31
; ============================
; celeryd supervisor example
; ============================
; NOTE: If you're using Django, you shouldn't use this file.
; Use
; http://github.com/celery/django-celery/tree/master/extra/supervisord/celeryd.conf
; instead!
[program:celery]
command=celeryd --loglevel=INFO
; Set PYTHONPATH to the directory containing celeryconfig.py
environment=PYTHONPATH=/path/to/project
directory=/path/to/project
user=nobody
numprocs=1
stdout_logfile=/var/log/celeryd.log
stderr_logfile=/var/log/celeryd.log
autostart=true
autorestart=true
startsecs=10
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs = 600
; if rabbitmq is supervised, set its priority higher
; so it starts first
priority=998