Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!adm!news From: ad@cis.brown.edu (Arif Diwan) Newsgroups: comp.unix.questions Subject: Reply to: I need (script to restart ....) by Jeff Wandling Message-ID: <23435@adm.BRL.MIL> Date: 25 May 90 13:18:53 GMT Sender: news@adm.BRL.MIL Lines: 9 I have a C program which can be very easily be modified to what you want to do. It is a daemon setup program which can fork a child and waits for it to expire. You can just add the line to restart your process in the interrupt handler for SIGCHLD. I will put that program for anonymous ftp from netlab.cis.brown.edu sometime today.