The following changes were made:

* Moved to newer version scheme
  * Added modified my.cnf
  * corrected function log_info_msg to log_init_msg
  * Updated usher to install my.cnf
This commit is contained in:
2018-01-11 22:41:39 -06:00
parent 1cce039371
commit b3f6944280
4 changed files with 172 additions and 20 deletions

View File

@@ -151,7 +151,7 @@ case "$mode" in
# Safeguard (relative paths, core dumps..)
cd $basedir
log_info_msg "Starting MySQL"
log_init_msg "Starting MySQL"
if test -x $bindir/mysqld_safe
then
# Give extra arguments to mysqld with the my.cnf file. This script
@@ -175,7 +175,7 @@ case "$mode" in
if (kill -0 $mysqld_pid 2>/dev/null)
then
log_info_msg "Shutting down MySQL"
log_init_msg "Shutting down MySQL"
kill $mysqld_pid
# mysqld should remove the pid file when it exits, so wait for it.
wait_for_gone $mysqld_pid "$mysqld_pid_file_path"; return_value=$?