diff --git a/devstack/apache-cloudkitty.template b/devstack/apache-cloudkitty.template index 2046ab39..31a7221a 100644 --- a/devstack/apache-cloudkitty.template +++ b/devstack/apache-cloudkitty.template @@ -1,7 +1,7 @@ Listen %PORT% - WSGIDaemonProcess cloudkitty-api processes=2 threads=10 user=%USER% display-name=%{GROUP} %VIRTUALENV% + WSGIDaemonProcess cloudkitty-api processes=2 threads=10 user=%USER% display-name=%{GROUP} python-home=%VIRTUALENV% WSGIProcessGroup cloudkitty-api WSGIScriptAlias / %WSGIAPP% WSGIApplicationGroup %{GLOBAL} diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f9a03c0b..8a4a4054 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -116,7 +116,7 @@ function _cloudkitty_config_apache_wsgi { s|%APACHE_NAME%|$APACHE_NAME|g; s|%WSGIAPP%|$CLOUDKITTY_WSGI_DIR/app.wsgi|g; s|%USER%|$STACK_USER|g; - s|%VIRTUALENV%|$venv_path|g + s|%VIRTUALENV%|$DEVSTACK_VENV|g " -i $cloudkitty_apache_conf }