On Sep 30, 2010, at 3:56 AM, Jeremy Chadwick wrote:

> The diff is pretty obvious/simple (2 line change), so the other
> databases/mysqlXX-server ports can be upgraded in the same manner.
> 
> --- files/mysql-server.sh.in.orig     2010-03-27 03:24:53.000000000 -0700
> +++ files/mysql-server.sh.in  2010-09-30 00:45:38.000000000 -0700
> @@ -35,8 +35,8 @@
> mysql_user="mysql"
> mysql_limits_args="-e -U ${mysql_user}"
> pidfile="${mysql_dbdir}/`/bin/hostname`.pid"
> -command="%%PREFIX%%/bin/mysqld_safe"
> -command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf 
> --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} 
> ${mysql_args} > /dev/null 2>&1 &"
> +command="/usr/sbin/daemon"
> +command_args="-c -f /usr/local/bin/mysqld_safe 
> --defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} 
> --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args}"

Shouldn't this be "-c -f %%PREFIX%%/bin/mysqld_safe ..." rather than 
hard-coding /usr/local?

> procname="%%PREFIX%%/libexec/mysqld"
> start_precmd="${name}_prestart"
> start_postcmd="${name}_poststart"
> 
> -- 
> | Jeremy Chadwick                                   j...@parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                  Mountain View, CA, USA |
> | Making life hard for others since 1977.              PGP: 4BD6C0CB |

Cheers,

Paul._______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to