8c2f4b0b7c
As part of the Pike goals we are moving api services to run as WSGI apps. glance-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 and deployers should notice no difference. Implements: blueprint goal-deploy-api-in-wsgi Change-Id: Ie5fbf437031be01682534c466b3737d090a81c57
20 lines
543 B
Django/Jinja
20 lines
543 B
Django/Jinja
[uwsgi]
|
|
uid = {{ glance_system_user_name }}
|
|
gid = {{ glance_system_group_name }}
|
|
|
|
virtualenv = /openstack/venvs/glance-{{ glance_venv_tag }}
|
|
wsgi-file = {{ glance_bin }}/{{ item.wsgi_name }}
|
|
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ glance_wsgi_processes }}
|
|
threads = {{ glance_wsgi_threads }}
|
|
exit-on-reload = true
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ glance_wsgi_buffer_size }}
|
|
thunder-lock = true
|
|
logfile-chmod = 644
|