portmaster and restarting of upgraded daemons

Miroslav Lachman 000.fbsd at quip.cz
Sun Mar 23 08:18:39 PDT 2008


Jeremy Chadwick wrote:

> On Sun, Mar 23, 2008 at 02:52:35PM +0100, Miroslav Lachman wrote:
> 
>>I am almost new to portmaster, so I got a question - is there any 
>>possibility to restart installed services as in portupgrade with defined 
>>BEFOREBUILD / BEFOREDEINSTALL / AFTERINSTALL? Or is there any future plan 
>>to do so? It is annoying if I end up with some dead services after upgrade 
>>just because I forgot to manualy do /usr/local/etc/rc.d/some_daemon restart
> 
> 
> This is more a complaint about the existing ports infrastructure, as
> IMHO, it's something that should be handled there and not necessarily by
> "third-party" port management utilities.
> 
> Some existing ports (such as smartmontools, i.e. smartd) do this, while
> others (such as postfix) do not.

Yes, you are right, but there is not this functionality in current ports 
infrastructure (AFAIK), so I am happy that portupgrade does this job, 
but newer versions of portupgrade have some other "so called features", 
which I don't like, so I am trying to switch to portmaster.

Miroslav Lachman


More information about the freebsd-ports mailing list