Switch from wsgi script to wsgi module
Change-Id: I6b758a50e10fadf8e9e85c98078e312793471eb3
This commit is contained in:
@@ -351,7 +351,6 @@ uwsgi_neutron_services: |-
|
||||
and ('wsgi_app' in service and service['wsgi_app']) %}
|
||||
{% set _ = service.update(
|
||||
{
|
||||
'wsgi_path': neutron_bin ~ '/' ~ service.wsgi_name,
|
||||
'wsgi_venv': ((neutron_install_method == 'source') | ternary(neutron_bin | dirname, None)),
|
||||
'uwsgi_uid': neutron_system_user_name,
|
||||
'uwsgi_guid': neutron_system_group_name,
|
||||
@@ -461,7 +460,7 @@ neutron_services:
|
||||
{% if ('ml2.genericswitch' in neutron_plugin_types) -%}
|
||||
--config-file {{ neutron_conf_dir }}/{{ neutron_plugins['ml2.genericswitch'].plugin_ini }}
|
||||
{% endif %}
|
||||
wsgi_name: "neutron-api"
|
||||
wsgi: "neutron.wsgi.api:application"
|
||||
execstarts: >-
|
||||
{{ neutron_bin }}/neutron-server --config-file {{ neutron_conf_dir }}/neutron.conf
|
||||
--config-file {{ neutron_conf_dir }}/{{ neutron_plugins[neutron_plugin_type].plugin_ini }}
|
||||
|
Reference in New Issue
Block a user