Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.unix.questions Subject: Re: Respawning processes. Message-ID: Date: 12 Jul 90 03:36:39 GMT References: <9644@crdgw1.crd.ge.com> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 17 In article <9644@crdgw1.crd.ge.com> larocque@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.