[PATCH] Add -R (restart all local services) to service(8)

Mike Telahun mike.telahun at gmail.com
Thu Sep 13 06:58:02 UTC 2012



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.


More information about the freebsd-rc mailing list