summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-21 16:38:42 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-21 16:38:49 +0800
commite7310fb508784f72f54fbad5762cec67b134241b (patch)
treeeab03cb91156889e6271f2576b5ae527ab78c887 /run.sh
parent0cd4e54ded5de005d5480d5b0d85535c1462b8eb (diff)
update code of genericparser
Change-Id: Ie8e9ee79ddf5f74d3b8ff4621698eb3651415b62 Issue-ID: VFC-1391 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/run.sh b/run.sh
index 7912bd9..caab259 100755
--- a/run.sh
+++ b/run.sh
@@ -15,7 +15,7 @@
logDir="/var/log/onap/modeling/genericparser/"
if [ ! -x $logDir ]; then
- mkdir -p $logDir
+ mkdir -p $logDir
fi
# nohup python manage.py runserver 0.0.0.0:8806 > /dev/null &
@@ -27,10 +27,3 @@ if [ "${SSL_ENABLED}" = "true" ]; then
else
nohup uwsgi --http :8806 -t 120 --module genericparser.wsgi --master --processes 4 &
fi
-
-
-while [ ! -f $logDir/runtime_genericparser.log ]; do
- sleep 1
-done
-
-tail -F $logDir/runtime_genericparser.log \ No newline at end of file