From owner-freebsd-questions Mon Jan 25 21:46:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA06071 for freebsd-questions-outgoing; Mon, 25 Jan 1999 21:46:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06065 for ; Mon, 25 Jan 1999 21:46:43 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id QAA04893; Tue, 26 Jan 1999 16:16:39 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id QAA93782; Tue, 26 Jan 1999 16:16:37 +1030 (CST) Date: Tue, 26 Jan 1999 16:16:37 +1030 From: Greg Lehey To: =?iso-8859-1?Q?Patrik_=C5str=F6m?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What to use instead of inittab Message-ID: <19990126161636.P66239@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.95.1i In-Reply-To: =?iso-8859-1?Q?=3CB11AC84AFD40D2118FD700805FA6FE4C4CC924=40STK-MAIL=3E?= =?iso-8859-1?Q?=3B_from_Patrik_=C5str=F6m_on_Tue=2C_Jan_19=2C_1999_at_11?= =?iso-8859-1?Q?:51:35AM_+0100?= WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 19 January 1999 at 11:51:35 +0100, Patrik Åström wrote: > On den 19 januari 1999 11:41, Greg Lehey wrote: >> On Tuesday, 19 January 1999 at 11:20:38 +0100, Patrik Åström wrote: >>> Hi! >>> >>> FreeBSD dont have a inittab like HP-UX, Solaris, Linux etc... >>> >>> Is there anything I can use instead ?, >> >> Yes. >> >>> or do I need to write a script that runs from cron and looks for any >>> proccess that have died and then restart them. >> >> I suppose it depends on what you want to do. Take a look at ttys(5). >> If that doesn't answer your question, state it. > > IM not running any kind of terminal software, this is more a generic > question how to solve the problem with applications that is dying. I would > like to have these application restarted as soon as possible after they die. > > e.g. lets say I have some FreeBSD boxes that does very little and I would > like to donate the spare CPU cycles to the distributed.net project, these > boxes is almost never attended to and it would be a shame if the rc5des > application stopped running and I there for not did contribute all the spare > CPU cycles I would like it to. > > Is there some sort of daemon I could install that would do this thing > instead of a inittab ? No, in this case you'd have to do something yourself. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message