diff options
author | Bin Hu <bh526r@att.com> | 2018-05-17 02:52:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-17 02:52:31 +0000 |
commit | d73ce67bc1bb04354ed91dd02ec620f2632ea97e (patch) | |
tree | 0ed74021184626299e61909977c9828b362a0bf6 /ocata/run.sh | |
parent | 3845ce548fd240795c3f1680cafdf5e34ab422ed (diff) | |
parent | eb60ad19e55a1ff53ca884d15c81f018ad7431cc (diff) |
Merge "Add console logging output"
Diffstat (limited to 'ocata/run.sh')
-rwxr-xr-x[-rw-r--r--] | ocata/run.sh | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ocata/run.sh b/ocata/run.sh index c0293f67..70af4df9 100644..100755 --- a/ocata/run.sh +++ b/ocata/run.sh @@ -15,16 +15,4 @@ 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 & -nohup uwsgi --http :9006 --module ocata.wsgi --master --processes 4 & - -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 $logDir/ocata.log - +uwsgi --http :9006 --module ocata.wsgi --master --processes 4 |