Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 18:17:13 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: MySQL not restarted after portupgrade
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Nov 2008 22:21:53 -0800
Jeremy Chadwick <koitsu@FreeBSD.org> 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.



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