mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Tim's niceness fix in safe_mysqld.sh - also a test to see if mail notification works
This commit is contained in:
parent
c29192d24b
commit
16f1f1bc8a
1 changed files with 1 additions and 2 deletions
|
@ -88,13 +88,12 @@ fi
|
|||
|
||||
|
||||
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"
|
||||
else
|
||||
NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
|
||||
fi
|
||||
|
||||
|
||||
export MYSQL_UNIX_PORT
|
||||
#export MYSQL_TCP_PORT
|
||||
touch $err_log; chown $user $err_log
|
||||
|
|
Loading…
Reference in a new issue