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'm trying to use Supervisord to keep my node.js web app alive.

However when I run supervisorctl shutdown, it doesn't close the http port that node.js uses.

Is there a way to configure Supervisord to shut down a process and close the port so I can restart webservers successfully?

[program:stream3]
command=<mycommand>
autostart=true
port=127.0.0.1:<myport>
autorestart=true
startretries=3
share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.