Tue Sep 20 22:36:20 PDT 2005
- Previous message: [Slony1-general] Monitoring slon processes
- Next message: [Slony1-general] Monitoring slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--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.
- 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