Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 21:53:39 -1000
From:      Doug Barton <dougb@FreeBSD.org>
To:        d@delphij.net
Cc:        crees@FreeBSD.org, freebsd-rc@FreeBSD.ORG, Xin Li <delphij@delphij.net>
Subject:   Re: [PATCH] Add -R (restart all local services) to service(8)
Message-ID:  <50503F83.2010308@FreeBSD.org>
In-Reply-To: <504F98E4.5090706@delphij.net>
References:  <504A5688.3090905@delphij.net> <504ECCD9.8010705@FreeBSD.org> <504F98E4.5090706@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/11/2012 10:02 AM, Xin Li wrote:
> On 09/10/12 22:32, Doug Barton wrote:
>> On 09/07/2012 13:18, Xin Li wrote:
>>> Hi,
> 
>>> Here is a patch that adds a new option, -R, to service(8), that 
>>> restarts all "local" services.  Useful for after portmaster -a.
> 
>> Since no one else has spoken up, I will. I dislike this idea
>> rather strongly, and would not like to see it go in. It's
>> incredibly rare that restarting all local services would be the
>> right course of
> 
> It's not rare after a port upgrade, and this makes it possible to stop
> and start services in the right order.

So what you and Chris are asserting is that it's frequently necessary to
stop and restart ALL of your ports related services, AND that they have
to be done in the right order? The latter is very rare (most ports
services tend to be independent of each other). And in all my time
administering FreeBSD systems, I have never thought to myself, "Boy, I
need an easy way to restart all my local services."

Can y'all give an actual example of when this might be necessary?

Doug





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