aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-05-09 09:43:20 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-05-09 09:43:20 +0800
commitb92f0723dfbde6d7f8a0e6d0c3dbe23955e68a1f (patch)
tree2707333777b022094344e5f879f46fa5dd8e050c /run.sh
parent1f07f079f2399d8a4e08abdfde101cbf2bb1afd8 (diff)
Fix run and stop sh for catalog
Change-Id: Iaacd3767c62c4e5df04beac1c672655015983e68 Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
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 5a19a62f..a4100743 100755
--- a/run.sh
+++ b/run.sh
@@ -15,7 +15,7 @@
logDir="/var/log/onap/vfc/catalog/"
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 catalog.wsgi --master --processes 4 &
fi
-
-
-while [ ! -f $logDir/runtime_catalog.log ]; do
- sleep 1
-done
-
-tail -F $logDir/runtime_catalog.log \ No newline at end of file