Respawning processes.

Peter da Silva peter at ficc.ferranti.com
Thu Jul 12 13:36:39 AEST 1990


In article <9644 at crdgw1.crd.ge.com> larocque at jupiter.crd.ge.com (David M. LaRocque) writes:
> Anyway, how can one specify that a process be started
> automatically when the computer is booted and auto-
> matically restarted whenever it dies?

Put it in inittab:

id:levels:respawn:program

Where "id" is the terminal id (any short reasonable string), and levels is a
list of run levels to run this process at (:23: is a good one).

special:23:respawn:program

> I'm running Sun 4.0.x operating system.

I don't know whether this will help, but that's the way it works in real UNIX.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.
<peter at ficc.ferranti.com>



More information about the Comp.unix.questions mailing list