summaryrefslogtreecommitdiffstats
path: root/windriver/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/run.sh')
-rw-r--r--windriver/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/windriver/run.sh b/windriver/run.sh
index 4cc23a60..8729584e 100644
--- a/windriver/run.sh
+++ b/windriver/run.sh
@@ -15,6 +15,11 @@
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
+
+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=debug &
+
#nohup python manage.py runserver 0.0.0.0:9005 2>&1 &
nohup uwsgi --http :9005 --module titanium_cloud.wsgi --master --processes 4 &