You could put an app inside /etc/inittab which'll ensure it gets restarted
automatically.
Otherwise, what I've done in the past is:
1. Have a shell script running all the time. This shell script checks every
few seconds if the service is still running.
2. Have a cron job running which checks if the above script is running. This
cron job runs every minute or so.
There's probably monitoring tools out there but I didn't look around at the
time.
Donncha.
On Thursday 11 September 2003 10:51, adam beecher wrote:
> Vot tools you use for monitoring services and bringing zem back up if zey
> are down pliss?
>>> <?php
> $s=array(74,65,112,104,112,72,32,59,45,41);
> for($i=0;$i<count($s);$i++){echo'&#'.$s[$i].';';}
> ?>
>> _______________________________________________
> Cork mailing list
>Cork at linux.ie>http://www.linux.ie/mailman/listinfo/cork
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!