summaryrefslogtreecommitdiffstats
path: root/windriver/run.sh
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-02-20 08:19:52 +0000
committerBin Yang <bin.yang@windriver.com>2019-02-20 08:19:52 +0000
commit9e4332e346db651ff2fc9e12783e59dd46282354 (patch)
treea9957a8e55460f243382deab808ccdb64adb4d8f /windriver/run.sh
parented3137ada09e2ff3aa5005a8e003b48d1d01b2bb (diff)
Run multicloud-windriver service as non root user
Disable vesagent and remove the dependency on rabbitmq-server The vesagent should be maintained as a standalone microservice Change-Id: I4877c0c25c973d0dd8f8511f457fed07ca61647b Issue-ID: MULTICLOUD-493 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/run.sh')
-rw-r--r--windriver/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/run.sh b/windriver/run.sh
index 5f185bdf..2d5d6e53 100644
--- a/windriver/run.sh
+++ b/windriver/run.sh
@@ -16,9 +16,9 @@
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 titanium_cloud worker --concurrency=1 --loglevel=info &
+# nohup celery -A titanium_cloud worker --concurrency=1 --loglevel=info &
#nohup python manage.py runserver 0.0.0.0:9005 2>&1 &
nohup uwsgi --http :9005 --module titanium_cloud.wsgi --master --processes 4 &