Hi,

why not just start kannel as daemon and use parachute code?

/path/to/bin/bearerbox --daemon --parachute

This will restart kannel if it crached. Optionally you can start some script to send e.g. email when kannel crached:

/path/to/bin/bearerbox --daemon --parachute --panic-script /path/to/script

Thanks,
Alex


Eric Beda schrieb:
Thanks,  i'll appreciate a quick howto in setting up kannel to work with
daemon tools,,, i'm going to try out daemon tools tomorro

How can i automatically restart kannel or reset whe kannel PANICS or
gets
an error
i use daemontools to monitor kannel (and other services). i run it on
FreeBSD 6.3 and it works very nicely

cheers

iain






Reply via email to