Merge "Use daemon flag only when USE_SCREEN=False"
This commit is contained in:
commit
740822b18b
@ -154,7 +154,12 @@ function install_marconiclient {
|
||||
|
||||
# start_marconi() - Start running processes, including screen
|
||||
function start_marconi {
|
||||
screen_it marconi-server "marconi-server --config-file $MARCONI_CONF --daemon"
|
||||
if [[ ${USE_SCREEN,,} == "false" ]];; then
|
||||
screen_it marconi-server "marconi-server --config-file $MARCONI_CONF --daemon"
|
||||
else
|
||||
screen_it marconi-server "marconi-server --config-file $MARCONI_CONF"
|
||||
fi
|
||||
|
||||
echo "Waiting for Marconi to start..."
|
||||
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $MARCONI_SERVICE_PROTOCOL://$MARCONI_SERVICE_HOST:$MARCONI_SERVICE_PORT/v1/health; do sleep 1; done"; then
|
||||
die $LINENO "Marconi did not start"
|
||||
|
Loading…
x
Reference in New Issue
Block a user