diff options
author | unknown <lenz@mysql.com> | 2002-11-22 18:26:45 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-11-22 18:26:45 +0100 |
commit | 3853ff4de26c9e7d3dee8b3b14292311a7ff85ab (patch) | |
tree | 4c6354293d7d13aa50460bb570e4104beeed728f /scripts | |
parent | a073857c3c0684a3f678d709d98fd0cc5c2cdb05 (diff) | |
download | mariadb-git-3853ff4de26c9e7d3dee8b3b14292311a7ff85ab.tar.gz |
scripts/safe_mysqld.sh
- fix setting of niceness level
support-files/mysql.server.sh
- applied some fixes from 4.0 mysql.server script
- fix my.cnf parsing
scripts/safe_mysqld.sh:
- fix setting of niceness level, if one adds "renice -20 $$" to safe_mysqld
as hinted in the manual (which could result in NOHUP_NICENESS having a
value of "-15" and hence there would be one dash too much)
support-files/mysql.server.sh:
- applied some fixes from 4.0 mysql.server script
- fix to actually parse the documented section ([mysql.server] not
[mysql_server]) in my.cnf on startup
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/safe_mysqld.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh index 2b625dbdfa3..2272443c972 100644 --- a/scripts/safe_mysqld.sh +++ b/scripts/safe_mysqld.sh @@ -159,7 +159,7 @@ then NOHUP_NICENESS=`nohup nice 2>&1` if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo > /dev/null 2>&1 then - NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" + NOHUP_NICENESS="nice -n $NOHUP_NICENESS nohup" else NOHUP_NICENESS="nohup" fi |