On 3-Nov-08, at 1:16 AM, Yuri Pankov wrote:

Apache and Courier IMAP are just not stopped during deinstall stage
(IIRC). You can use AFTERINSTALL in /usr/local/etc/pkgtools.conf to
start MySQL after upgrade.

Thanks! There's even an example using mysql-server in the file. My AFTERINSTALL is now:

   # Re-enable the X wrapper
   'x11-servers/XFree86-4-Server' => sprintf(
    'cd %s/bin && if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',

    # Automatically start MySQL server
    'databases/mysql51-server' => proc { |origin|
      cmd_enable_rc(origin) + ';' + cmd_start_rc(origin)

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to