How to install daemontools (supervise) on centos 5

centos5daemontoolsprocess

I'd like to use supervise to monitor httpd, mysqld and hudson processes on Centos 5. When any of these processes go down I'd like to use a tool to automatically restart them.

I've read and heard about supervise, but couldn't find a way to install it on centos.

Can anyone help me with that? Any other tools are also good, as long as they can be easily installed on centos 5 and allow me to automatically restart httpd, mysqld, hudson.

Thanks for your help!

Best Answer

Maybe it can be worth to try out runit

It is compatible with daemontools and has rpm packages available. The install instructions are http://smarden.org/runit/install.html (if you compile from source instead)

You can stick to daemontools if you want http://cr.yp.to/daemontools/install.html

Tell the error messages if you get stuck with the install process.