summaryrefslogtreecommitdiffstats
path: root/ocata/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ocata/run.sh')
-rwxr-xr-x[-rw-r--r--]ocata/run.sh14
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