devstack: set correct port number for aodh-api
Since the aodh-api is generated by pbr wsgi_scripts, we should set correct port number to launch it. Change-Id: Ic632aa05a85b7d08dc2c297427a0feb2ae658299 Closes-Bug: #1620880
This commit is contained in:
parent
28b78049ce
commit
3e1ed2ef66
@ -324,7 +324,7 @@ function start_aodh {
|
||||
elif [ "$AODH_DEPLOY" == "uwsgi" ]; then
|
||||
run_process aodh-api "$AODH_BIN_DIR/uwsgi $AODH_UWSGI_FILE"
|
||||
else
|
||||
run_process aodh-api "$AODH_BIN_DIR/aodh-api"
|
||||
run_process aodh-api "$AODH_BIN_DIR/aodh-api -p $AODH_SERVICE_PORT"
|
||||
fi
|
||||
|
||||
# Only die on API if it was actually intended to be turned on
|
||||
|
Loading…
x
Reference in New Issue
Block a user