Skip to navigation
Start a django app with gunicorn and multiple ports on supervisor in a virtual environment
02.03.16
create a supervisor config file like: [program:MYAPP] process_name=MYAPP%(process_num)s directory=/var/customers/webs/shop4/pgtest command=/var/customers/webs/MYAPP/bin/python /var/customers/webs/MYAPP/bin/gunicorn -w 4 -b 127.0.0.1:%(process_num)s MYAPP.wsgi:application numprocs=20 numprocs_start=8000
http://www.onurguzel.com/managing-gunicorn-processes-with-supervisor/
Reply
Anonymous
Information Epoch 1784257537
Silence is golden.
Home
Notebook
Contact us