portupgrade and daemons.

Lars Thegler lars at thegler.dk
Sun May 23 06:01:29 PDT 2004


Josef Karthauser wrote:
> On Sun, May 23, 2004 at 01:52:06PM +0200, Kay Lehmann wrote:
> 
>>As far as I know this isn't the job of portupgrade. Normally it should 
>>be handeled by the port itself, which could stop daemons with 
>>appropriate set (de)install targets.
>>I think a lot of the ports do this quite properly. Moving this to Mk 
>>looks quite complicated and I think it would be the best to leave it in 
>>the ports, since they should know what is required to do.
> 
> Ah ok.  That makes sense. Do you know of a port that does this properly
> off the top of your head?

net/smokeping stops a running daemon in its pkg-deinstall script. It 
doesn't restart it after upgrade, though. Not sure whether that is a 
good idea anyway.

/Lars



More information about the freebsd-ports mailing list