Code Review
/
sim
/
a1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
a1-simulator:2.5.0 Release docker image
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
src
/
start.sh
diff --git
a/near-rt-ric-simulator/src/start.sh
b/near-rt-ric-simulator/src/start.sh
index
a424b5a
..
8518541
100755
(executable)
--- a/
near-rt-ric-simulator/src/start.sh
+++ b/
near-rt-ric-simulator/src/start.sh
@@
-1,7
+1,7
@@
-#!/bin/
ba
sh
+#!/bin/sh
# ============LICENSE_START===============================================
# ============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.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-37,5
+37,15
@@
echo "PYTHONPATH set to: "$PYTHONPATH
cd $1
cd $1
+#start nginx
+nginx -c /usr/src/app/nginx.conf
+
+#start callBack server
+if [[ ${A1_VERSION} == "STD"* ]]; 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
echo "Path to main.py: "$PWD
python -u main.py