-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupervisor.ini
More file actions
37 lines (32 loc) · 835 Bytes
/
supervisor.ini
File metadata and controls
37 lines (32 loc) · 835 Bytes
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
[supervisord]
nodaemon = true
[program:wsgi]
user = app
command = /home/app/start-gunicorn.sh
environment=PATH="/srv/virtenv/bin:%(ENV_PATH)s",HOME="/home/app"
autorestart = false
startretries=0
stdout_events_enabled = true
stderr_events_enabled = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:nginx]
command = /usr/bin/start-nginx.sh
autorestart = false
startretries=0
stdout_events_enabled = true
stderr_events_enabled = true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[eventlistener:stdout]
command = supervisor_stdout
buffer_size = 100
events = PROCESS_LOG
result_handler = supervisor_stdout:event_handler
[eventlistener:fatal]
command = "supervisor-shutdown"
events = PROCESS_STATE_FATAL