summaryrefslogtreecommitdiffstats
path: root/ocata/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ocata/run.sh')
-rw-r--r--ocata/run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/ocata/run.sh b/ocata/run.sh
index a4edae47..f1bcfa9a 100644
--- a/ocata/run.sh
+++ b/ocata/run.sh
@@ -17,9 +17,13 @@ memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
-while [ ! -f logs/runtime_ocata.log ]; do
+logDir="/var/log/onap/multicloud/openstack/ocata"
+if [ ! -x $logDir ]; then
+ mkdir -p $logDir
+fi
+while [ ! -f $logDir/ocata.log ]; do
sleep 1
done
-tail -F logs/runtime_ocata.log
+tail -F $logDir/ocata.log