Fri May 4 04:23:19 PDT 2007
- Previous message: [Slony1-general] RE: Settings table IDs
- Next message: [Slony1-general] Re: Using monit to keep slony running
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm using monit to handle a number of our services, and want to use it for slon as well. Here's the config I've created: check process slony with pidfile /var/run/slony.pid start program = "/usr/local/bin/slon -p /var/run/slony.pid twistage 'dbname=twist_prod user=slony host=localhost' >> /var/log/slony.log &" stop program = "/bin/kill -TERM `/bin/cat /var/run/slony.pid`" group slony Running "monit start all" works fine and the slon daemon starts up and does its thing. However I'm not able to stop slon. monit just sits for a while, and then says that it failed to stop slon. If I run the kill command myself from the command line though it works perfectly. Not sure what the difference is - how can I make slon stop using monit? Pat
- Previous message: [Slony1-general] RE: Settings table IDs
- Next message: [Slony1-general] Re: Using monit to keep slony running
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list