Commit 7cf9e0c5 authored by unknown's avatar unknown

Tim's niceness fix in safe_mysqld.sh - also a test to see if mail notification works


scripts/safe_mysqld.sh:
  Added Tim's niceness fix
parent 039f20b5
...@@ -88,13 +88,12 @@ fi ...@@ -88,13 +88,12 @@ fi
NOHUP_NICENESS=`nohup nice` NOHUP_NICENESS=`nohup nice`
if [ "x$NOHUP_NICENESS" = "x0" ] || ! nice --1 nice >/dev/null 2>&1 ; then if test $? -ne 0 || test x"$NOHUP_NICENESS" = x0 || test ! nice --1 echo foo > /dev/null 2>&1; then
NOHUP_NICENESS="nohup" NOHUP_NICENESS="nohup"
else else
NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
fi fi
export MYSQL_UNIX_PORT export MYSQL_UNIX_PORT
#export MYSQL_TCP_PORT #export MYSQL_TCP_PORT
touch $err_log; chown $user $err_log touch $err_log; chown $user $err_log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment