forked from longguikeji/arkid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord.conf
33 lines (27 loc) · 864 Bytes
/
supervisord.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
[supervisord]
nodaemon=true
[program:uwsgi]
command=uwsgi --ini /etc/uwsgi/uwsgi.ini --die-on-term
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:worker]
command=celery -A celery_app worker -Q default,perm,sql_ldap -l debug
stdout_logfile=/var/log/celery_worker.access
stdout_logfile_maxbytes=0
stderr_logfile=/var/log/celery_worker.error
stderr_logfile_maxbytes=0
[program:scheduler]
command=celery -A celery_app beat -l debug
stdout_logfile=/var/log/celery_beat.access
stdout_logfile_maxbytes=0
stderr_logfile=/var/log/celery_beat.error
stderr_logfile_maxbytes=0
[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock