From 71e1e1936fc05742a6ebf79ff4712e8150e4f097 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 30 Jul 2008 06:11:16 +0000 Subject: Make startup script ssh-friendly. PR: ports/81915 Submitted by: David Marshall --- databases/mysql60-server/files/mysql-server.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/mysql60-server/files') diff --git a/databases/mysql60-server/files/mysql-server.sh.in b/databases/mysql60-server/files/mysql-server.sh.in index 401731cacc51..2896a9effe5c 100644 --- a/databases/mysql60-server/files/mysql-server.sh.in +++ b/databases/mysql60-server/files/mysql-server.sh.in @@ -36,7 +36,7 @@ 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 &" +command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} > /dev/null 2>&1 &" procname="%%PREFIX%%/libexec/mysqld" start_precmd="${name}_prestart" start_postcmd="${name}_poststart" -- cgit v1.2.3