From owner-freebsd-ports@FreeBSD.ORG Fri Sep 16 16:58:31 2011 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 97F0A106564A for ; Fri, 16 Sep 2011 16:58:31 +0000 (UTC) (envelope-from freebsdlists-ports@chillibear.com) Received: from mail.sundive.org (mail.sundive.org [212.13.197.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0598FC16 for ; Fri, 16 Sep 2011 16:58:31 +0000 (UTC) Received: from [31.185.209.80] (helo=[192.168.0.44]) by sundive.org with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1R4b89-00030P-5W; Fri, 16 Sep 2011 17:19:19 +0100 User-Agent: Microsoft-Entourage/12.30.0.110427 Date: Fri, 16 Sep 2011 17:17:33 +0100 From: Eric To: Matthias Andree , , ports-list freebsd Message-ID: Thread-Topic: Re-starting daemons across upgrades? (was: Thank you (for making the ports less boring).) Thread-Index: Acx0jCOxwD8l064UtEGWrsNmBfm4tQ== In-Reply-To: <4E73709D.5020004@gmx.de> X-Priority: 4 Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam: No X-bounce-key: sundive.org-1; freebsdlists-ports@chillibear.com; 1316192404; e152d022; Cc: Subject: Re: Re-starting daemons across upgrades? (was: Thank you (for making the ports less boring).) 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: Fri, 16 Sep 2011 16:58:31 -0000 > We do not currently have a standard procedure for that, nor do we record > the necessary state -- perhaps we should just discuss, vote, and add a > paragraph to the porter's handbook. > > We also need to bring the authors (or volunteers) for the de-facto > standard upgrade tools into the loop. > > My thoughts: > > - give the user a choice to configure whether to restart services > > - optional: give the users a chance to configure this per-service > > - discuss whether we want/need to support this (a) in the framework that > we currently use, (b) only in pkgng, (c) in portmaster and portupgrade > where necessary. Just for ref regarding (c) on the portupgrade wiki page[1] it mentions using AFTERINSTALL in pkgtools.conf for doing automatic stop/start/restart. [1] http://wiki.freebsd.org/portupgrade