summaryrefslogtreecommitdiffstats
path: root/mgr/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mgr/run.sh')
-rwxr-xr-xmgr/run.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/mgr/run.sh b/mgr/run.sh
index 38132cd..77f19fb 100755
--- a/mgr/run.sh
+++ b/mgr/run.sh
@@ -13,4 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+logDir="/var/log/onap/vfc-gvnfm-vnfmgr/"
+if [ ! -x $logDir ]; then
+ mkdir -p $logDir
+fi
+
nohup python manage.py runserver 0.0.0.0:8803 > /dev/null &
+
+while [ ! -f $logDir/runtime_mgr.log ]; do
+ sleep 1
+done
+
+tail -F $logDir/runtime_mgr.log