-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord.conf
46 lines (38 loc) · 1.28 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
[supervisord]
nodaemon=false
[program:edrop]
command=/edrop/edrop-gunicorn.sh
directory=/edrop
autostart=true
autorestart=true
stdout_logfile=/edrop/logs/edrop_supervisor.log
stderr_logfile=/edrop/logs/edrop_supervisor.log
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs = 600
; When resorting to send SIGKILL to the program to terminate it
; send SIGKILL to its whole process group instead,
; taking care of its children as well.
killasgroup=true
; if rabbitmq is supervised, set its priority higher
; so it starts first
priority=998
[program:edrop-cron]
command=/edrop/edrop-cron.sh
directory=/edrop
autostart=true
autorestart=true
stdout_logfile=/edrop/logs/edrop_cron.log
stderr_logfile=/edrop/logs/edrop_cron.log
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs = 600
; When resorting to send SIGKILL to the program to terminate it
; send SIGKILL to its whole process group instead,
; taking care of its children as well.
killasgroup=true
; if rabbitmq is supervised, set its priority higher
; so it starts first
priority=998