Linux on 390 Port <[email protected]> wrote on 05/03/2006 05:17:20 PM:
<snip> > The only thing that inittab does right now that /etc/init.d scripts > can't do is automatically respawn a failed application if it dies. We'd > just need to write a "spawner" application that initialized, forked a > specified command line as a child, and monitored it. <snip again> I, being a mainframe dinosaur, just wrote a script that checks for the processes' existence. If it ain't there, it starts it. I cron it every 5 to 15 mins based on how important the task is. (Actually, it does a netstat and checks for the port.) Samples available for the asking. tomS ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
