[Supervisor-users] fcgi program section prevents supervisord from restarting
Marco Vittorini Orgeas
marco at mavior.eu
Fri Aug 14 08:43:32 EDT 2009
Roger Hoover <roger.hoover at ...> writes:
>
>
> Thanks, Marco. I think cleaning up the FCGI sockets will be straightforward.
I just need to figure out the best place to hook in to be able to do that.Chris
or Mike, after briefly looking over the code, it looks like the place to do this
is to override the finish() method like this.class
FastCGISubprocess(Subprocess): def finish(self, pid, sts): #do FCGI
Socket clean up here ... #do parent finish()
Subprocess.finish(self, pid, sts)Does this seem like the right approach?
Ok, let us know when you got a patch!
bye
Marco
More information about the Supervisor-users
mailing list