如何配置django-supervisord?

时间:2013-01-28 04:53:14

标签: django-commands django-supervisor

我正在尝试为webfaction中的django fastcgi进程编写一个supervisord.conf。当我运行命令时,主管立即退出。

supervisord.conf

[program:celeryd]
command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celeryd -l info --settings=zone.webfaction
[program:celerycam]
command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celerycam --settings=zone.webfaction
[program:runserver]
exclude=true

1 个答案:

答案 0 :(得分:0)

[program:celeryd]
command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celeryd -B -E -l info --settings=zone.webfaction
[program:celerycam]
command={{ PYTHON }} {{ PROJECT_DIR }}/manage.py celerycam --settings=zone.webfaction
[program:autoreload]
exclude=true
[program:runserver]
exclude=true
[program:celerybeat]
exclude=true