Browse Source

BUG#27367 mysql.server should be LSB init script compliant

Moved cd $basedir to live in the start section, as it only applies to the start
functionality and breaks the restart task
pull/73/head
mtaylor@qualinost.(none) 19 years ago
parent
commit
99c5f418af
  1. 6
      support-files/mysql.server.sh

6
support-files/mysql.server.sh

@ -261,13 +261,13 @@ else
esac
fi
# Safeguard (relative paths, core dumps..)
cd $basedir
case "$mode" in
'start')
# Start daemon
# Safeguard (relative paths, core dumps..)
cd $basedir
manager=$bindir/mysqlmanager
if test -x $libexecdir/mysqlmanager
then

Loading…
Cancel
Save