|
|
@ -6,7 +6,7 @@ set -o nounset
|
|
|
|
# Use watchfiles during development
|
|
|
|
# Use watchfiles during development
|
|
|
|
CELERY_WORKER_WATCH=${CELERY_WORKER_WATCH:-}
|
|
|
|
CELERY_WORKER_WATCH=${CELERY_WORKER_WATCH:-}
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -z $CELERY_WORKER_WATCH ]; then
|
|
|
|
if [ -n "${CELERY_WORKER_WATCH}" ]; then
|
|
|
|
watchfiles --filter python 'celery -A main.celery worker --loglevel=info'
|
|
|
|
watchfiles --filter python 'celery -A main.celery worker --loglevel=info'
|
|
|
|
else
|
|
|
|
else
|
|
|
|
exec python -m celery -A main.celery worker --loglevel=info
|
|
|
|
exec python -m celery -A main.celery worker --loglevel=info
|