From owner-freebsd-ports@FreeBSD.ORG Sun Mar 23 14:48:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2BE2106566B for ; Sun, 23 Mar 2008 14:48:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id CC78C8FC24 for ; Sun, 23 Mar 2008 14:48:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id BAE221CC068; Sun, 23 Mar 2008 07:48:23 -0700 (PDT) Date: Sun, 23 Mar 2008 07:48:23 -0700 From: Jeremy Chadwick To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20080323144823.GA72507@eos.sc1.parodius.com> References: <47E660A3.3050805@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47E660A3.3050805@quip.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-ports@freebsd.org Subject: Re: portmaster and restarting of upgraded daemons X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 14:48:24 -0000 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. There are pros and cons to what you want. I myself have never managed to conclude if the pros outweigh the cons -- or vice-versa -- but I have thought about it before. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |