mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
MDEV-295 Do NOT start mysql when installing MariaDB rpms
but restart it on upgrade, if it was already running
This commit is contained in:
parent
be0d1179a8
commit
108265bd9e
4 changed files with 15 additions and 23 deletions
|
|
@ -64,10 +64,3 @@ HERE
|
|||
fi
|
||||
fi
|
||||
|
||||
# Shut down a previously installed server first
|
||||
if [ -x %{_sysconfdir}/init.d/mysql ] ; then
|
||||
%{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
|
||||
echo "Giving mysqld 5 seconds to exit nicely"
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue