why is supervisor starting TWO django servers?

时间:2016-04-04 18:25:20

标签: django supervisord

I'm running django with the djano-sslserver extension. For some reason, when supervisor starts my django server, I'm getting TWO django servers (and they seem to be interfering with each other).

my command is

/path/to/virtualenv/python /path/to/manage.py runsslserver [many params] fully.qualified.domain.name:443

two funny things:

1) When I start supervisord (/etc/init.d/supervisord start), one of the Django processes is the child of the other.

2) If I stop supervisord (/etc/init.d/supervisord stop), only one of the two djangos stops. the other survives

0 个答案:

没有答案