Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 15:02:05 +0200
From:      Lars Thegler <lars@thegler.dk>
To:        Josef Karthauser <joe@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   Re: portupgrade and daemons.
Message-ID:  <40B0A0CD.90301@thegler.dk>
In-Reply-To: <20040523122832.GF40899@genius.tao.org.uk>
References:  <20040523101300.GA43113@genius.tao.org.uk> <40B09066.1020300@web.de> <20040523122832.GF40899@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B0A0CD.90301>