Use uwsgi binary from path
In-line with devstack patch [1], switch invocations to find uwsgi in the path. [1] https://review.opendev.org/#/c/577779/ Change-Id: I5e6aee49f434820881051874c9ad2628b4fcada7
This commit is contained in:
parent
24acbe099b
commit
e5951ced5f
@ -185,7 +185,7 @@ function _cleanup_octavia_apache_wsgi {
|
||||
|
||||
function _start_octavia_apache_wsgi {
|
||||
if [[ "$WSGI_MODE" == "uwsgi" ]]; then
|
||||
run_process o-api "$OCTAVIA_BIN_DIR/uwsgi --ini $OCTAVIA_UWSGI_CONF"
|
||||
run_process o-api "$(which uwsgi) --ini $OCTAVIA_UWSGI_CONF"
|
||||
enable_apache_site octavia-wsgi
|
||||
else
|
||||
enable_apache_site octavia
|
||||
|
Loading…
Reference in New Issue
Block a user