summaryrefslogtreecommitdiffstats
path: root/ocata/run.sh
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-02-26 09:05:13 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-02-26 13:55:00 +0800
commit6eedde85e963dee1e12c1199c9e94300bb827318 (patch)
tree268b12d4da5fe67dfa45db3270f1e720337114f6 /ocata/run.sh
parent38896883244c4a0145e4afb0ad76dc62123d5293 (diff)
Run Ocata plugin as non root user
Change-Id: Ia4e201ee586cc62f1ea2f5f38d4001acc7ccc0b5 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'ocata/run.sh')
-rwxr-xr-xocata/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocata/run.sh b/ocata/run.sh
index ecca9860..a66a1e98 100755
--- a/ocata/run.sh
+++ b/ocata/run.sh
@@ -16,8 +16,8 @@
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
-service rabbitmq-server restart
+#service rabbitmq-server restart
# make sure only 1 worker due to missing the synchronization between workers now
-nohup celery -A ocata worker --concurrency=1 --loglevel=info &
+#nohup celery -A ocata worker --concurrency=1 --loglevel=info &
uwsgi --http :9006 --module ocata.wsgi --master --processes 4