X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=mc-core%2Fcontainer_start.sh;h=a2195eaa25394d969739e67e1edf73404293fcaf;hb=refs%2Fchanges%2F88%2F3288%2F1;hp=cd515f97226499b46fa08ba6ec278e7d034de714;hpb=ddaaf46a05789d0b3a26894411d115ea26e7ce4a;p=ric-app%2Fmc.git diff --git a/mc-core/container_start.sh b/mc-core/container_start.sh index cd515f9..a2195ea 100755 --- a/mc-core/container_start.sh +++ b/mc-core/container_start.sh @@ -41,7 +41,8 @@ set -e -SIMULATOR_MODE=`python /mc/extract_params.py $XAPP_DESCRIPTOR_PATH simulator_mode` +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,7 +50,12 @@ then ( cd /playpen - bin/mc_listener + if [ "$RMR_PORT" != "" ] + then + bin/mc_listener -p $RMR_PORT + else + bin/mc_listener + fi ) echo "listener was started" >&2