Hi Grzegorz,

Thanks.  I'm afraid something like this would be better as a third-party
add-on, as the support requirements for someone actually using it are
high (it's a lot easier to tell someone that a program must run in the
foreground than it is to support them when this doesn't work for some
reason).

Thanks again,

- C


On Wed, 2010-11-10 at 17:10 +0100, Grzegorz Nosek wrote:
> Hi all,
> 
> The attached patch should make supervisor suitable for watching 
> processes which background themselves and cannot be taught not to.
> 
> It has been lightly tested and appears to work. It comes with the usual 
> caveat of reusing pids after a while but as long as they're assigned 
> sequentially and the machine isn't under some insane load, it should 
> work fine (famous last words?). The pidfile is actually reread every so 
> often (5 seconds by default) so you actually have a chance of restarting 
> the process without supervisor noticing. I'm not sure if it's a bug or a 
> feature.
> 
> Does this thing have a chance of being accepted in supervisor mainline?
> 
> Best regards,
>   Grzegorz Nosek
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> http://lists.supervisord.org/mailman/listinfo/supervisor-users


_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to