Use uwsgi binary from path

Change-Id: I553265e5ef99ed1e5a3baedb123241e666c819ca
This commit is contained in:
zhurong 2020-06-16 11:29:09 +08:00
parent aac7c6b80e
commit 4c2f898b4a
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ function install_murano_pythonclient() {
# start_murano() - Start running processes, including screen
function start_murano() {
if [ "$MURANO_USE_UWSGI" == "True" ]; then
run_process murano-api "$MURANO_BIN_DIR/uwsgi --procname-prefix murano-api --ini $MURANO_UWSGI_CONF"
run_process murano-api "$(which uwsgi) --procname-prefix murano-api --ini $MURANO_UWSGI_CONF"
else
run_process murano-api "$MURANO_BIN_DIR/murano-api --config-file $MURANO_CONF_DIR/murano.conf"
fi