diff options
Diffstat (limited to 'newton/run.sh')
-rwxr-xr-x | newton/run.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/newton/run.sh b/newton/run.sh index 0e2bee32..43de581f 100755 --- a/newton/run.sh +++ b/newton/run.sh @@ -17,8 +17,12 @@ 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:9003 2>&1 & -while [ ! -f logs/runtime_newton.log ]; do +logDir="/var/log/onap/multicloud/openstack/newton" +if [ ! -x $logDir ]; then + mkdir -p $logDir +fi +while [ ! -f $logDir/newton.log ]; do sleep 1 done -tail -F logs/runtime_newton.log +tail -F $logDir/newton.log |