-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathsupervisor.conf
67 lines (60 loc) · 1.61 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[program:redis]
command=/opt/redis-4.0.1/src/redis-server
user=root
numprocs=1
directory=/opt/redis-4.0.1/src/
stdout_logfile=/var/log/redis_access.log
stderr_logfile=/var/log/redis_error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 120
priority=998
[program:djangoproject.celeryd]
command=/usr/bin/python /root/cmdb/manage.py celery worker -c 4 --loglevel=info
user=root
numprocs=1
directory=/root/cmdb
stdout_logfile=/var/log/celery_worker_access.log
stderr_logfile=/var/log/celery_worker-error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 120
priority=998
[program:djangoproject.celerybeat]
command=/usr/bin/python /root/cmdb/manage.py celery beat --schedule=/tmp/celerybeat-schedule --pidfile=/tmp/django_celerybeat.pid --loglevel=INFO
user=root
numprocs=1
directory=/root/cmdb
stdout_logfile=/var/log/celery_beat_access.log
stderr_logfile=/var/log/celery_beat_error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 120
priority=998
[program:djangoproject.celerycam]
command=/usr/bin/python /root/cmdb/manage.py celerycam --frequency=10.0
user=root
numprocs=1
directory=/root/cmdb
stdout_logfile=/var/log/celerycam_access.log
stderr_logfile=/var/log/celerycam_error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 120
priority=998
[program:djangoproject.celeryflower]
command=/usr/bin/python /root/cmdb/manage.py celery flower --port=9008
user=root
numprocs=1
directory=/root/cmdb
stdout_logfile=/var/log/celerycam_access.log
stderr_logfile=/var/log/celerycam_error.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 120
priority=998