Supervisor で Celery を管理
メモ。
[program:celery] command=celery -A foo.tasks.task worker -l debug -E environment=PYTHONPATH=%(here)s/../../barproject directory=%(here)s/../barproject autostart=true autorestart=true redirect_stderr=true stdout_logfile=%(here)s/../logs/celery_stdout.log stderr_logfile=%(here)s/../logs/celery_stderr.log
PYTHONPATH でプロジェクトルートを指定して、celery コマンドを直接たたく感じ。