Tue Sep 20 22:42:45 PDT 2005
- Previous message: [Slony1-general] Monitoring slon processes
- Next message: [Slony1-general] Monitoring slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2005-09-20 at 16:36, Jim Archer wrote: > --On Tuesday, September 20, 2005 11:30 PM +0200 Magnus Hagander > <mha at sollentuna.net> wrote: > > > Couldn't you just run it under a shellscript that automatically restarts > > it? Something like: > > > > while [ true ]; do > > /path/to/slon -commandline > > done > > If I do that, won't it just start multiple instances of it? Currently, I > have a script that starts it and writes the pid to a pid file (actually, I > flagged the slon to do that). So I was thinking I need something that > would monitor (1) the presence of the pidfile and (2) monitor that the pid > in the pid file is still a process. FYI, someone on this list has recommended daemontools in the past... I think this is what they were talking about. http://cr.yp.to/daemontools.html
- Previous message: [Slony1-general] Monitoring slon processes
- Next message: [Slony1-general] Monitoring slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list