-
Notifications
You must be signed in to change notification settings - Fork 1
/
supervisord.conf
61 lines (44 loc) · 1.34 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[supervisord]
nodaemon=true
user=root
;nocleanup=true
;pidfile=ancillaries/logs/supervisord.pid
;logfile=ancillaries/logs/supervisord.log
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[program:nginx]
;command=/usr/sbin/nginx -g "daemon off;"
command=/usr/sbin/nginx
process_name=%(program_name)s_%(process_num)02d
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
;redirect_stderr=true
;stderr_logfile=/var/log/supervisor/%(program_name)s_stderr.log
;stderr_logfile_maxbytes=10MB
;stdout_logfile=/var/log/supervisor/%(program_name)s_stdout.log
;stdout_logfile_maxbytes=10MB
numprocs=1
startretries=5
autostart=true
autorestart=true
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs=5
[program:uwsgi]
command=/usr/local/bin/uwsgi --ini /var/www/uwsgi.ini --die-on-term
process_name=%(program_name)s_%(process_num)02d
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
; redirect_stderr=true
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
numprocs=1
; Need to wait for currently executing tasks to finish at shutdown.
; Increase this if you have very long running tasks.
stopwaitsecs=5
[inet_http_server]
port=*:9001
username=dev
password=1PassElog