projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05396e9
)
setting worker queue restriction for #413
author
Bryan
<btbonval@gmail.com>
Fri, 27 Feb 2015 02:41:05 +0000
(21:41 -0500)
committer
Bryan
<btbonval@gmail.com>
Fri, 27 Feb 2015 02:41:05 +0000
(21:41 -0500)
celerywrapper.sh
patch
|
blob
|
history
diff --git
a/celerywrapper.sh
b/celerywrapper.sh
index 4fe68a19bb6b9e59b418bb465b5fd1b50a96b221..d721f2d7454a41245ab108a80db7f2dc0c9b20f6 100755
(executable)
--- a/
celerywrapper.sh
+++ b/
celerywrapper.sh
@@
-1,5
+1,5
@@
#!/bin/bash
-python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info &
+python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info
-Q $CELERY_QUEUE_NAME
&
sleep 5
workerpid=`cat /tmp/celeryd.pid`
echo "Started celery worker with pid $workerpid"