diff options
author | Jens Harbott <j.harbott@x-ion.de> | 2020-06-13 11:35:47 +0000 |
---|---|---|
committer | Jens Harbott <j.harbott@x-ion.de> | 2020-06-13 11:38:45 +0000 |
commit | 839d8b54e49da492cbb5d17b4cbb9d91fef30c60 (patch) | |
tree | 3c717f1dc90962a5fe3c7a4bbb98101f9696cdf9 | |
parent | 7869cc9df017a58514f3508830c6a71d2d875ad1 (diff) | |
download | designate-839d8b54e49da492cbb5d17b4cbb9d91fef30c60.tar.gz |
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
-rwxr-xr-x | devstack/plugin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 52879cbf..083bd958 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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 |