aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql40-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2008-07-30 14:11:16 +0800
committerale <ale@FreeBSD.org>2008-07-30 14:11:16 +0800
commit8ca418dd50b3037f960b168434b44a2a0572f2ee (patch)
treeac3e8868b7a4ec328f79a876e781e3e514bd2e54 /databases/mysql40-server
parent6b0c3f4d685069519155c9fc7f283994eb80c8e2 (diff)
downloadfreebsd-ports-gnome-8ca418dd50b3037f960b168434b44a2a0572f2ee.tar.gz
freebsd-ports-gnome-8ca418dd50b3037f960b168434b44a2a0572f2ee.tar.zst
freebsd-ports-gnome-8ca418dd50b3037f960b168434b44a2a0572f2ee.zip
Make startup script ssh-friendly.
PR: ports/81915 Submitted by: David Marshall <marshall@chezmarshall.com>
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r--databases/mysql40-server/files/mysql-server.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/mysql40-server/files/mysql-server.sh.in b/databases/mysql40-server/files/mysql-server.sh.in
index 8749d209aabe..dceda04eb484 100644
--- a/databases/mysql40-server/files/mysql-server.sh.in
+++ b/databases/mysql40-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"
mysql_install_db="%%PREFIX%%/bin/mysql_install_db"