NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Restart services after upgrade



On Fri, Dec 10, 2010 at 5:54 PM, Stefano Marinelli
<postnet%dragas.dyndns.org@localhost> wrote:
> Hello everybody,
> sometimes I use to upgrade my pkgsrc packages using the "pkg_rolling-replace 
> -u". It works perfectly but sometimes some services start to behave in a 
> weird mode because they've been upgraded and not restarted.
> Is there a way to restart those services (or all the services, one per time) 
> instead of rebooting the machine?
> Of course I could manually do a "/etc/rc.d/xxx restart" but this involves 
> that I should manually check and know which services (and/or deps) have been 
> rebuilt.
> Is there a more automatic way?

puppet has the idea of services "subscribing" to files or packages
where it will restart a service if anything changes.

You would have to build out the list, though.


Home | Main Index | Thread Index | Old Index