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
parent 7caf1843
......@@ -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
......
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