X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mc-core%2Fcontainer_start.sh;h=a2195eaa25394d969739e67e1edf73404293fcaf;hb=refs%2Fchanges%2F88%2F3288%2F1;hp=22d121d25c27e66b5e178fff53b9f1358b7076ca;hpb=783f6bfa93c3eed4787bded3c35016952b74b2e3;p=ric-app%2Fmc.git diff --git a/mc-core/container_start.sh b/mc-core/container_start.sh index 22d121d..a2195ea 100755 --- a/mc-core/container_start.sh +++ b/mc-core/container_start.sh @@ -42,6 +42,7 @@ set -e SIMULATOR_MODE=`python /mc/extract_params.py ${XAPP_DESCRIPTOR_PATH}/config-file.json simulator_mode` +RMR_PORT=`python /mc/extract_rmr_port.py ${XAPP_DESCRIPTOR_PATH}/config-file.json rmr_data_in` if [ "$SIMULATOR_MODE" != "true" ] then @@ -49,11 +50,11 @@ then ( cd /playpen - if (( $USE_NNG )) || [[ ! -f bin/mc_listener_si ]] # we really want the si version unless forced + if [ "$RMR_PORT" != "" ] then - bin/mc_listener + bin/mc_listener -p $RMR_PORT else - bin/mc_listener_si + bin/mc_listener fi )