Fix a bug in deployment
[sim/a1-interface.git] / near-rt-ric-simulator / src / start.sh
index a424b5a..3fe7d4b 100755 (executable)
@@ -37,5 +37,15 @@ echo "PYTHONPATH set to: "$PYTHONPATH
 
 cd $1
 
+#start nginx
+nginx -c /usr/src/app/nginx.conf
+
+#start callBack server
+if [ ${A1_VERSION} == "STD_1.1.3" ]; then
+    echo "Path to callBack.py: "$PWD
+    python -u callBack.py &
+fi
+
+#start near-rt-ric-simulator
 echo "Path to main.py: "$PWD
 python -u main.py