-
Notifications
You must be signed in to change notification settings - Fork 381
Expand file tree
/
Copy pathsupervisord.conf
More file actions
31 lines (21 loc) · 580 Bytes
/
supervisord.conf
File metadata and controls
31 lines (21 loc) · 580 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
[unix_http_server]
file=/tmp/supervisor.sock
[supervisord]
logfile=/tmp/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=false
minfds=1024
minprocs=200
[inet_http_server] ; inet (TCP) server disabled by default
port=*:9001
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
[program:pyone]
command = gunicorn -k gevent -w4 -t 600 -b 0:39876 run:app
directory = /root/pyone
autorestart = true