Use uwsgi binary from path

Depends-On: https://review.opendev.org/#/c/735779/
Change-Id: I3da02010dc98835a9e1eb979e2b3d83eeb18fe33
This commit is contained in:
zhurong 2020-06-16 11:51:34 +08:00
parent e17ac204c6
commit ab62db22e8
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function start_solum() {
restart_apache_server
tail_log solum-api /var/log/$APACHE_NAME/solum-api.log
elif [ "$SOLUM_USE_UWSGI" == "True" ]; then
run_process solum-api "$SOLUM_BIN_DIR/uwsgi --ini $SOLUM_UWSGI_CONF"
run_process solum-api "$(which uwsgi) --ini $SOLUM_UWSGI_CONF"
else
run_process solum-api "$SOLUM_BIN_DIR/solum-api --config-file $SOLUM_CONF_DIR/$SOLUM_CONF_FILE"
fi