55f437b447
As part of the Pike goals we are moving api services to run as WSGI apps. sahara-api service is set up as a wsgi app, and this patch moves it over. Since this is just a drop in replacement for the existing eventlet service, operators an deployers should notice no difference. Change-Id: Ie4826358d5ee1686ad9ea7fa9eb0441acff565f2 Implements: blueprint goal-deploy-api-in-wsgi
20 lines
561 B
Django/Jinja
20 lines
561 B
Django/Jinja
[uwsgi]
|
|
uid = {{ sahara_system_user_name }}
|
|
gid = {{ sahara_system_group_name }}
|
|
|
|
virtualenv = /openstack/venvs/sahara-{{ sahara_venv_tag }}
|
|
wsgi-file = {{ sahara_bin }}/{{ item.value.wsgi_name }}
|
|
http-socket = {{ item.value.uwsgi_bind_address }}:{{ item.value.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ sahara_wsgi_processes }}
|
|
threads = {{ sahara_wsgi_threads }}
|
|
exit-on-reload = true
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ sahara_wsgi_buffer_size }}
|
|
thunder-lock = true
|
|
logfile-chmod = 644
|