On Fri, 2010-10-22 at 09:05 +0100, Phillip Oldham wrote: > On 21/10/2010 20:10, Jordan Sissel wrote: > > On Wed, Oct 20, 2010 at 8:05 AM, Phillip Oldham > > <[email protected]> wrote: > > We have a number of programs we run which don't create a > > PID file > > (specifically php-cgi and vsftpd). Is there a way we can use > > Supervisord > > to help create a PID file for these processes?
No, sorry, supervisor will not write pid files. But you could write an event listener which does: http://supervisord.org/events.html#event-listeners-and-event-notifications There's actually already an event listener named "memmon" which tracks memory usage of a program and restarts it if it exceeds a maximum. http://pypi.python.org/pypi/superlance/0.5 - C _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
