Make uwsgi app to not demonize
[yardstick.git] / ansible / roles / configure_uwsgi / templates / yardstick.ini.j2
1 [uwsgi]
2 master = true
3 debug = true
4 chdir = {{ yardstick_dir }}/api
5 module = server
6 plugins = python
7 processes = 10
8 threads = 5
9 async = true
10 max-requests = 5000
11 chmod-socket = 666
12 callable = app_wrapper
13 enable-threads = true
14 close-on-exec = 1
15 logto = {{ log_dir }}/uwsgi.log
16 socket = {{ socket_file }}
17 {# If virtual environment, we need to add:
18    virtualenv = <virtual_env> #}