Switch from wsgi script to wsgi module
Change-Id: I6b3dee5740b04689d00ef01af636b5547c9d2aca
This commit is contained in:
@@ -137,6 +137,7 @@ placement_services:
|
||||
init_config_overrides: "{{ placement_api_init_overrides }}"
|
||||
start_order: 1
|
||||
wsgi_app: true
|
||||
wsgi: "placement.wsgi.api:application"
|
||||
wsgi_name: placement-api
|
||||
uwsgi_overrides: "{{ placement_api_uwsgi_ini_overrides }}"
|
||||
uwsgi_bind_address: "{{ placement_bind_address }}"
|
||||
|
||||
@@ -58,7 +58,6 @@ uwsgi_placement_services: |-
|
||||
and ('wsgi_app' in value and value['wsgi_app']) %}
|
||||
{% set _ = value.update(
|
||||
{
|
||||
'wsgi_path': placement_bin ~ '/' ~ value.wsgi_name,
|
||||
'wsgi_venv': ((placement_install_method == 'source') | ternary(placement_bin | dirname, None)),
|
||||
'uwsgi_uid': placement_system_user_name,
|
||||
'uwsgi_guid': placement_system_group_name,
|
||||
|
||||
Reference in New Issue
Block a user