ask/celery — pull request #570 by stpierre (2011-12-14 15:52:21+00:00)
Title: Add $CELERYCTL_OPTS to init script

Add $CELERYCTL_OPTS variable to allow adding --config argument when running celeryd with a Django settings file. For instance, in /etc/sysconfig/celeryd you could set:

CELERYCTL_OPTS="--config=MyDjangoApp.settings"

Without that argument, "celeryctl status" will complain about being unable to find the settings module.

celeryctl options must come after commands, so this is not something that can be handled by the $CELERYCTL variable itself.