2021-07-21 01:12:26 +00:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
logfile=/tmp/supervisord.log
|
|
|
|
|
2021-07-22 19:19:49 +00:00
|
|
|
[program:dramaservice]
|
2021-07-21 01:12:26 +00:00
|
|
|
directory=/opt/Drama/service
|
2021-07-22 19:19:49 +00:00
|
|
|
command=gunicorn drama.__main__:app -k gevent -w 5 --max-requests 10000 --max-requests-jitter 500 --reload --bind 0.0.0.0:80
|
2021-07-21 01:12:26 +00:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|