#!/usr/bin/env bash

export PATH=$PATH:/makeaplea/

export C_FORCE_ROOT=true

cd /makeaplea && source /makeaplea/docker/celery_defaults && celery worker -A make_a_plea.celery:app


#!/usr/bin/env bash

export PATH=$PATH:/makeaplea/

export C_FORCE_ROOT=true

cd /makeaplea && source /makeaplea/docker/celery_defaults && celery -A make_a_plea.celery:app worker --loglevel=DEBUG


Add debug logging to celery worker
Add debug logging to celery worker

The celery worker is exiting silently when deployed to an environment.
This change swaps the celery arguments to match the docs [1] and adds
debug logging.

[1] http://docs.celeryproject.org/en/latest/userguide/workers.html#starting-the-worker
