[svlug] How to auto-restart a dead program?

Ron ron at rawbw.com
Tue Jul 1 06:09:37 PDT 2003

I have a few programs that randomly die (sshd in RH 7.2 and chbg in RH
9.0). Does anyone have a _simple & efficient_ solution to restarting
them when this occurs?

Failing advice, I'll wrap them in a script of the sort:

	start program
	get pid
	    check pid, negative ? stimulate

Thanks for any help!


More information about the svlug mailing list