X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fsrc%2Fstart.sh;h=e87b69ef69fe1bcb7a4d81837a1e23633cc99dd3;hb=8873ea581307f1544b6ece3cb31b78c781ae032e;hp=feb5a1dd012dfffce9b95f0cc2ce8e6a7419c1f0;hpb=967079bda24e7a0f5268728f1474ce0ddc9e52d0;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/src/start.sh b/near-rt-ric-simulator/src/start.sh index feb5a1d..e87b69e 100755 --- a/near-rt-ric-simulator/src/start.sh +++ b/near-rt-ric-simulator/src/start.sh @@ -1,7 +1,7 @@ -#!/bin/bash +#!/bin/sh # ============LICENSE_START=============================================== -# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,27 +25,27 @@ if [ $# -ne 1 ]; then fi echo "Version folder for simulator: "$1 -#Set path to open api +# Set path to open api export APIPATH=$PWD/api/$1 echo "APIPATH set to: "$APIPATH cd src -#Include common module(s) +# Include common module(s) export PYTHONPATH=$PWD/common echo "PYTHONPATH set to: "$PYTHONPATH cd $1 -#start nginx +# start nginx nginx -c /usr/src/app/nginx.conf -#start callBack server +# start callBack server if [[ ${A1_VERSION} == "STD"* ]]; then echo "Path to callBack.py: "$PWD python -u callBack.py & fi -#start near-rt-ric-simulator +# start near-rt-ric-simulator echo "Path to main.py: "$PWD python -u main.py