diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-04-27 08:55:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-27 08:55:37 +0000 |
commit | d379bd07e1903a0abe3337675a274e8bc8136ecd (patch) | |
tree | 69fffd0e69f7f4294d266dbb38b2fbc81c893bfe /ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 | |
parent | b338d3091bb0beb89d4ad9f7c144f43a31a19a74 (diff) | |
parent | 0b976dd02421a181674acc837127ac741ccfccea (diff) |
Merge "Migrate install.sh script to ansible"
Diffstat (limited to 'ansible/roles/configure_uwsgi/templates/yardstick.ini.j2')
-rw-r--r-- | ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 new file mode 100644 index 000000000..c049daf84 --- /dev/null +++ b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 @@ -0,0 +1,18 @@ +[uwsgi] +master = true +debug = true +chdir = {{ yardstick_dir }}api +module = server +plugins = python +processes = 10 +threads = 5 +async = true +max-requests = 5000 +chmod-socket = 666 +callable = app_wrapper +enable-threads = true +close-on-exec = 1 +daemonize = {{ log_dir }}uwsgi.log +socket = {{ socket_file }} +{# If virtual environment, we need to add: + virtualenv = <virtual_env> #}
\ No newline at end of file |