[Supervisor-users] fcgi program section prevents supervisord from restarting
Mike Naberezny
mike at maintainable.com
Sun Aug 16 16:02:24 EDT 2009
Hi Roger,
Roger Hoover wrote:
> 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?
This looks good to me.
Thanks,
Mike
--
Mike Naberezny
Maintainable Software
http://maintainable.com
More information about the Supervisor-users
mailing list