Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 11:56:27 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        "M. Warner Losh" <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
Message-ID:  <20100108165627.GB62775@zim.MIT.EDU>
In-Reply-To: <20091221.210850.220301508585541755.imp@bsdimp.com>
References:  <4B2DD2A1.8060907@FreeBSD.org> <ygeaaxec7oz.wl%ume@mahoroba.org> <20091220183519.GB64667@lor.one-eyed-alien.net> <20091221.210850.220301508585541755.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 21, 2009, M. Warner Losh wrote:
> In message: <20091220183519.GB64667@lor.one-eyed-alien.net>
>             Brooks Davis <brooks@FreeBSD.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100108165627.GB62775>