From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 18:33:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F98A106567A for ; Mon, 3 Nov 2008 18:33:41 +0000 (UTC) (envelope-from fbsd06+3K=fed1ab1b@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 024C58FC1A for ; Mon, 3 Nov 2008 18:33:40 +0000 (UTC) (envelope-from fbsd06+3K=fed1ab1b@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id E63901648BB for ; Mon, 3 Nov 2008 13:17:18 -0500 (EST) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id CE2E2D05B1 for ; Mon, 3 Nov 2008 13:17:16 -0500 (EST) Date: Mon, 3 Nov 2008 18:17:13 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081103181713.1c251963@gumby.homeunix.com> In-Reply-To: <20081103062153.GA12804@icarus.home.lan> References: <513F7DF0-642B-4D58-B533-A49FEBD2E2AF@sentex.net> <20081103062153.GA12804@icarus.home.lan> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: MySQL not restarted after portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 18:33:41 -0000 On Sun, 2 Nov 2008 22:21:53 -0800 Jeremy Chadwick wrote: > On Mon, Nov 03, 2008 at 12:52:53AM -0500, Andrew Berry wrote: > > For some reason, after running portupgrade > > databases/mysql51-server, MySQL is brought down, but not restarted. > > It's not a huge issue, as I just have to remember to run the rc.d > > script after upgrading, but I was wondering if anyone else had seen > > this? portupgrade seems to work fine with other daemons such as > > Apache and Courier IMAP. > > This is a per-port thing, unless portupgrade provides some form of > rc.subr script restarting itself. There is no "standard" for this. You can setup BEFOREDEINSTALL and/or AFTERINSTALL in pkgtools.conf to run rc.d scripts per port. Portmanager has a similar feature.