From: Charles Connell Date: Fri, 23 May 2014 18:26:40 +0000 (-0400) Subject: experiment with celery X-Git-Tag: release-20150131~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d3544a624c618b955ecd6dba029145ccd0ac242;p=oweals%2Fkarmaworld.git experiment with celery --- diff --git a/Procfile b/Procfile index 285231d..d7235b4 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,4 @@ web: gunicorn karmaworld.wsgi celeryworker: python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info celerybeat: python manage.py celery beat --pidfile=/tmp/beat.pid -l info +celerywrapper: sh celerywrapper.sh diff --git a/celerywrapper.sh b/celerywrapper.sh new file mode 100644 index 0000000..7ae2289 --- /dev/null +++ b/celerywrapper.sh @@ -0,0 +1,3 @@ +#!/bin/bash +python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info & +python manage.py celery beat --pidfile=/tmp/beat.pid -l info &