Portupgrade and mysql5-server
Dan Nelson
dnelson at allantgroup.com
Wed Jul 25 17:11:16 UTC 2007
In the last episode (Jul 25), Ian Lord said:
> Hi,
>
> Just a quick question.
>
> When there is a new version of mysql5-server port, I use "portupgrade
> -a" to update it.
>
> Everytime I need to do a "/usr/local/etc/rc.d/mysql-server start" to
> start it manually after the upgrade.
>
> Shouldn't it be done automatically ?
imho this is a bug in the plist. It shouldn't shutdown mysql in the
first place. I remove the "@stopdaemon mysql-server" from pkg-plist.
Then after I portupgrade mysql, I just run
"/usr/local/etc/rc.d/mysql-server restart" to bring up the new version
with only a fraction of a second of downtime.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list