我正在尝试为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
答案 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