Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've managed to set up supervisord with fastcgi on a django project of mine, the problem is that when I make mi program stop, the server keeps running somehow, and my page keeps online.

Here is my supervisord program directive:


Here is my "run" script:


source /var/www/django-projects/helloworld/venv/bin/activate;
/var/www/django-projects/helloworld/ runfcgi \
     daemonize=false \
     host= \

All I want is a way to stop/start/restart this django project using supervisord, hope you can help me.

share|improve this question

try running socketed:

/var/www/django-projects/helloworld/ runfcgi \
         daemonize=false \
         outlog=/desired/path/log/django-fcgi.log \
         socket=/desired/path/var/run/django-run.socket \
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.