diff options
author | Bin Yang <bin.yang@windriver.com> | 2018-05-15 07:26:09 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2018-05-15 07:26:09 +0000 |
commit | ef5889eb7bfcc007f97d41618d96612d6bc271e2 (patch) | |
tree | 124dfb1e7fd1a195421227077da4b37efdb3c512 /windriver/run.sh | |
parent | f8dd18b31de4ea5d90a3eacb4af2cc2f382aadd8 (diff) |
Enable celery for vesagent workers
Change-Id: Ibd44dc86d0bc5ce203043ed18d5e968472462b8f
Issue-ID: MULTICLOUD-230
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/run.sh')
-rw-r--r-- | windriver/run.sh | 5 |
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 & |