From 85f61982c29e09051ee0788acb137dcdda0e1754 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 6 Apr 2005 10:58:50 +0000 Subject: Update to 4.1.11 release: - add the possibility to specify additional command-line arguments to be passed to mysqld_safe on startup --- databases/mysql41-server/files/mysql-server.sh.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'databases/mysql41-server/files/mysql-server.sh.in') diff --git a/databases/mysql41-server/files/mysql-server.sh.in b/databases/mysql41-server/files/mysql-server.sh.in index f6a8f06335b4..e5870bdc1c9a 100644 --- a/databases/mysql41-server/files/mysql-server.sh.in +++ b/databases/mysql41-server/files/mysql-server.sh.in @@ -17,6 +17,8 @@ # just before mysql starts. # mysql_dbdir (str): Default to "/var/db/mysql" # Base database directory. +# mysql_args (str): Custom additional arguments to be passed +# to mysqld_safe (default empty). # . %%RC_SUBR%% @@ -29,12 +31,13 @@ load_rc_config $name : ${mysql_enable="NO"} : ${mysql_limits="NO"} : ${mysql_dbdir="/var/db/mysql"} +: ${mysql_args=""} mysql_user="mysql" mysql_limits_args="-e -U ${mysql_user}" pidfile="${mysql_dbdir}/`/bin/hostname`.pid" command="%%PREFIX%%/bin/mysqld_safe" -command_args="--user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} > /dev/null &" +command_args="--user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} > /dev/null &" procname="%%PREFIX%%/libexec/mysqld" start_precmd="${name}_prestart" mysql_install_db="%%PREFIX%%/bin/mysql_install_db" -- cgit v1.2.3