MySQL not restarted after portupgrade

RW fbsd06 at mlists.homeunix.com
Mon Nov 3 10:33:41 PST 2008


On Sun, 2 Nov 2008 22:21:53 -0800
Jeremy Chadwick <koitsu at 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.


More information about the freebsd-questions mailing list