Switch from wsgi script to wsgi module
Change-Id: If13a79c15a42fa52150fd3fee0207b6828e5cde3
This commit is contained in:
@@ -117,7 +117,7 @@ blazar_services:
|
||||
init_config_overrides: "{{ blazar_api_init_config_overrides }}"
|
||||
start_order: 1
|
||||
wsgi_app: true
|
||||
wsgi_name: blazar-api-wsgi
|
||||
wsgi: "blazar.wsgi.api:application"
|
||||
uwsgi_port: "{{ blazar_service_port }}"
|
||||
uwsgi_bind_address: "{{ blazar_bind_address }}"
|
||||
uwsgi_overrides: "{{ blazar_api_uwsgi_ini_overrides }}"
|
||||
|
@@ -66,7 +66,6 @@ uwsgi_blazar_services: |-
|
||||
and ('wsgi_app' in value and value['wsgi_app']) %}
|
||||
{% set _ = value.update(
|
||||
{
|
||||
'wsgi_path': blazar_bin ~ '/' ~ value.wsgi_name,
|
||||
'wsgi_venv': blazar_bin | dirname,
|
||||
'uwsgi_uid': blazar_system_user_name,
|
||||
'uwsgi_guid': blazar_system_group_name,
|
||||
|
Reference in New Issue
Block a user