Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 09:57:55 +0300
From:      Mike Telahun <mike.telahun@gmail.com>
To:        d@delphij.net
Cc:        crees@FreeBSD.org, freebsd-rc@FreeBSD.ORG, Doug Barton <dougb@FreeBSD.org>, Xin Li <delphij@delphij.net>
Subject:   Re: [PATCH] Add -R (restart all local services) to service(8)
Message-ID:  <505183F3.7080604@gmail.com>
In-Reply-To: <505043BB.1040709@delphij.net>
References:  <504A5688.3090905@delphij.net> <504ECCD9.8010705@FreeBSD.org> <504F98E4.5090706@delphij.net> <50503F83.2010308@FreeBSD.org> <505043BB.1040709@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 09/12/2012 11:11 AM, Xin Li wrote:
>
> Run OpenLDAP as backend, with dovecot as IMAP store, postfix as MTA,
> clamav and amavisd-new, mailman for mailing list, a postfix policy
> daemon that stores certain persistent data in MySQL.
>
> Now, OpenLDAP, clamav and MySQL updates.  No, not every application
> handles restarts gracefully, they need to be restarted.

While this is certainly an expedient solution.  A more elegant solution 
might be to teach service(8) to restart a service *and* all the other 
services that depend on it.  However, since I haven't looked at this 
stuff in a long time I'm not sure how much work this would entail.

Cheers,
Mike.



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