Correct unit test invocation in cmake file
[ric-app/mc.git] / mc-core / container_start.sh
index a2195ea..b241ecd 100755 (executable)
 
 set -e
 
+FIFO_DIR="/tmp/mcl/fifos"
+
 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`
+RMR_PORT=`python /mc/extract_rmr_port.py ${XAPP_DESCRIPTOR_PATH}/config-file.json rmr-data`
+
+mkdir -p $FIFO_DIR
 
 if [ "$SIMULATOR_MODE" != "true" ]
 then
@@ -56,7 +60,7 @@ then
        else
                bin/mc_listener
        fi
-)
+) >/tmp/listener.std 2>&1 &
 
 echo "listener was started" >&2