From owner-svn-src-head@FreeBSD.ORG Fri Jan 8 16:56:29 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 787CA106566C; Fri, 8 Jan 2010 16:56:29 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 334B78FC15; Fri, 8 Jan 2010 16:56:28 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id o08GuSjW062968; Fri, 8 Jan 2010 11:56:28 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id o08GuRmL062967; Fri, 8 Jan 2010 11:56:27 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Fri, 8 Jan 2010 11:56:27 -0500 From: David Schultz To: "M. Warner Losh" Message-ID: <20100108165627.GB62775@zim.MIT.EDU> Mail-Followup-To: "M. Warner Losh" , brooks@freebsd.org, ume@freebsd.org, dougb@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, freebsd-rc@freebsd.org References: <4B2DD2A1.8060907@FreeBSD.org> <20091220183519.GB64667@lor.one-eyed-alien.net> <20091221.210850.220301508585541755.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091221.210850.220301508585541755.imp@bsdimp.com> Cc: brooks@FreeBSD.ORG, freebsd-rc@FreeBSD.ORG, ume@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, dougb@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Subject: Re: svn commit: r200743 - in head/usr.sbin: . service X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 16:56:29 -0000 On Mon, Dec 21, 2009, M. Warner Losh wrote: > In message: <20091220183519.GB64667@lor.one-eyed-alien.net> > Brooks Davis writes: > : This is where the value of service(8) would lie for me. The ability > : to not have things work by accident due to my environment and then break > : at reboot would be be very helful. > > I'd love to have some way to say 'If the daemon dies, please restart > it. But don't be so eager about it that your attempts to keep it > running interfere with things like service' The service management stuff introduced in Solaris 10 has this capability, as well as some other nice bits of sophistication. For instance, when a service is restarted, it will automatically restart any services whose operation depends on that service. Anyone working on services might want to peruse their svcs(1) and smf(5) for ideas.