Tue Sep 20 22:30:48 PDT 2005
- Previous message: [Slony1-general] Monitoring slon processes
- Next message: [Slony1-general] Monitoring slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hi All... > > I was wondering if anyone had any code that monitors a slon > and, if it stops, restarts it? If so, would you be willing > to share? I have servers in other places and, very > occasionally, connectivity is briefly lost, which kills the slon. > > Thanks very much... Couldn't you just run it under a shellscript that automatically restarts it? Something like: while [ true ]; do /path/to/slon -commandline done Or start it from init, which will handle respawning and also throttling if something bad happens.. //Magnus
- 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