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
This commit is contained in:
parent
7caf1843ee
commit
99c5f418af
@ -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…
x
Reference in New Issue
Block a user