From owner-freebsd-questions Fri Mar 14 8:40:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBB6B37B40A for ; Fri, 14 Mar 2003 08:40:38 -0800 (PST) Received: from gatekeeper.microcell.ca (gatekeeper.microcell.ca [205.151.8.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEC3043F93 for ; Fri, 14 Mar 2003 08:40:37 -0800 (PST) (envelope-from SoHo@admin.fido.ca) Received: from mailserv.microcell.ca (mailserv.microcell.ca [10.2.0.87]) by gatekeeper.microcell.ca (Postfix) with ESMTP id 433BA16C03; Fri, 14 Mar 2003 11:40:37 -0500 (EST) Received: from 127.0.0.1 (localhost [127.0.0.1]) by mailserv.microcell.ca (Postfix) with SMTP id DD06716BC3; Fri, 14 Mar 2003 11:40:36 -0500 (EST) Received: from lenard.admin.fido.ca (lamus.fido.ca [10.0.1.45]) by mailserv.microcell.ca (Postfix) with ESMTP id 27A1416BC3; Fri, 14 Mar 2003 11:40:36 -0500 (EST) Received: from magni.microcell.ca (magni.microcell.ca [10.6.22.102]) by lenard.admin.fido.ca (SMTP_Gateway) with ESMTP id 08B4247D3C; Fri, 14 Mar 2003 11:40:36 -0500 (EST) Received: from magni.microcell.ca (localhost [127.0.0.1]) by magni.microcell.ca (8.12.6/8.12.7) with SMTP id h2EGd2fa048437; Fri, 14 Mar 2003 11:39:02 -0500 (EST) (envelope-from SoHo@admin.fido.ca) Date: Fri, 14 Mar 2003 11:39:02 -0500 From: Edmond Baroud To: Vijay.Singh@nokia.com Cc: questions@FreeBSD.ORG Subject: Re: init and process restart Message-Id: <20030314113902.3e22c276.SoHo@admin.fido.ca> In-Reply-To: <15985.65224.87953.811583@guru.mired.org> References: <4D7B558499107545BB45044C63822DDE01AF2A38@mvebe001.americas.nokia.com> <15985.65224.87953.811583@guru.mired.org> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sanitizer: This message has been sanitized! X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.64 2002/10/22 16:37:04 bre Exp $ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi. Is it possible to use init to restart some user critical processes if they die. Has any work been done in this area. Please CC me. init can do that, but I encourage the usage of svscan which you can find in : /usr/ports/sysutils/service-config - you can delegate the services monitoring/administration to their owners/other than the superusers. - take the services up/down as needed (without modifying the ttys file and having to do init q) - log every service uptime/downtime in a separate log. hoep this helps, Ed. -- Edmond Baroud UNIX Systems Admin mailto:SoHo@admin.fido.ca Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 "UNIX is very user friendly, it's just picky about who its friends are." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message