diff options
author | liangke <lokyse@163.com> | 2018-03-05 15:07:20 +0800 |
---|---|---|
committer | liangke <lokyse@163.com> | 2018-03-05 15:21:04 +0800 |
commit | dbb7e33fd422411e3ec0176e2ac214f858f548b8 (patch) | |
tree | e6f2237936e025d414d60bc55b825c3aef71cb90 /vio/run.sh | |
parent | 7a3e0ef783715080e57d9281d0844c438b589fdf (diff) |
Create log file during configuring container
Change-Id: Icdf31c8b2b34ff0a201dc3cb1412bbf6db7a2a7f
Issue-ID: MULTICLOUD-151
Signed-off-by: liangke <lokyse@163.com>
Diffstat (limited to 'vio/run.sh')
-rwxr-xr-x | vio/run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,12 +21,12 @@ sed -i "s/AAI_SCHEMA_VERSION =.*/AAI_SCHEMA_VERSION = \"${AAI_SCHEMA_VERSION}\"/ sed -i "s/AAI_USERNAME =.*/AAI_USERNAME = \"${AAI_USERNAME}\"/g" vio/pub/config/config.py sed -i "s/AAI_PASSWORD =.*/AAI_PASSWORD = \"${AAI_PASSWORD}\"/g" vio/pub/config/config.py + + +logDir="/var/log/onap/multicloud/vio" + nohup python manage.py runserver 0.0.0.0:9004 2>&1 & -logDir="/var/log/onap/multicloiud/vio" -if [ ! -x $logDir ]; then - mkdir -p $logDir -fi while [ ! -f $logDir/vio.log ]; do sleep 1 done |