Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

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.