Don't install uwsgi in vitrage
* It is installed in stack.sh * get the path to uwsgi executable from which command it is not necessarily installed in /usr/local/bin Depends-On: https://review.opendev.org/#/c/735592/ Change-Id: I126e210b8028bb2e63d85143f97fd24994879d69
This commit is contained in:
parent
6ee4e1f7b6
commit
34cef2f4e1
@ -272,8 +272,6 @@ function install_vitrage {
|
||||
|
||||
if [[ "$VITRAGE_DEPLOY" == "mod_wsgi" ]]; then
|
||||
install_apache_wsgi
|
||||
elif [[ "$VITRAGE_DEPLOY" == "uwsgi" ]]; then
|
||||
pip_install uwsgi
|
||||
fi
|
||||
}
|
||||
|
||||
@ -294,7 +292,7 @@ function start_vitrage {
|
||||
enable_apache_site vitrage
|
||||
restart_apache_server
|
||||
elif [[ "$VITRAGE_DEPLOY" == "uwsgi" ]]; then
|
||||
run_process vitrage-api "$VITRAGE_BIN_DIR/uwsgi --procname-prefix vitrage --ini $VITRAGE_UWSGI_FILE" ""
|
||||
run_process vitrage-api "$(which uwsgi) --procname-prefix vitrage --ini $VITRAGE_UWSGI_FILE" ""
|
||||
else
|
||||
run_process vitrage-api "$VITRAGE_BIN_DIR/vitrage-api -d -v --config-file $VITRAGE_CONF"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user