Use uwsgi binary from path

Change-Id: Ie40a701898c5c46728c89b819e0c3636407fa975
This commit is contained in:
zhurong 2020-06-16 14:38:15 +08:00
parent b77686412b
commit 0bcfcd979a
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ function start_zun_api {
local zun_url
if [ "$ZUN_USE_UWSGI" == "True" ]; then
run_process zun-api "$ZUN_BIN_DIR/uwsgi --procname-prefix zun-api --ini $ZUN_UWSGI_CONF"
run_process zun-api "$(which uwsgi) --procname-prefix zun-api --ini $ZUN_UWSGI_CONF"
zun_url=$service_protocol://$ZUN_SERVICE_HOST/container
else
run_process zun-api "$ZUN_BIN_DIR/zun-api"