30 lines
938 B
Django/Jinja
30 lines
938 B
Django/Jinja
# {{ ansible_managed }}
|
|
[uwsgi]
|
|
uid = {{ mistral_system_user_name }}
|
|
gid = {{ mistral_system_group_name }}
|
|
|
|
{% if mistral_install_method == 'source' %}
|
|
virtualenv = /openstack/venvs/mistral-{{ mistral_venv_tag }}
|
|
{% endif %}
|
|
{% if mistral_install_method == 'distro' and (ansible_os_family | lower) == 'debian' %}
|
|
plugin = python3
|
|
{% endif %}
|
|
wsgi-file = {{ mistral_bin }}/{{ item.wsgi_name }}
|
|
http = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ mistral_wsgi_processes }}
|
|
threads = {{ mistral_wsgi_threads }}
|
|
exit-on-reload = false
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ mistral_wsgi_buffer_size }}
|
|
thunder-lock = true
|
|
logfile-chmod = 644
|
|
pidfile = /var/run/{{ item.service_name }}/{{ item.service_name }}.pid
|
|
|
|
# Avoid filling up the logs with health check requests from haproxy.
|
|
route-user-agent = ^osa-haproxy-healthcheck$ donotlog:
|