Fix uwsgi path

Devstack is switching back to using distro installed uwsgi, which will
not reside in the same directory as the python binaries. Make sure to
use the right path for it. See also [0].

[0] https://review.opendev.org/577779

Change-Id: Ic1b67c9d0ebfbf444f5ee096d6478fbe0c073329
This commit is contained in:
Jens Harbott 2020-06-13 11:35:47 +00:00
parent 7869cc9df0
commit 839d8b54e4
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ function start_designate {
if [[ "$DESIGNATE_WSGI_MODE" == "uwsgi" ]]; then
run_process "designate-api" "$DESIGNATE_BIN_DIR/uwsgi --procname-prefix designate-api --ini $DESIGNATE_UWSGI_CONF"
run_process "designate-api" "$(which uwsgi) --procname-prefix designate-api --ini $DESIGNATE_UWSGI_CONF"
else
enable_apache_site designate-api
restart_apache_server