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:
Sergei Golubchik 2012-05-25 21:08:26 +02:00
commit 108265bd9e
4 changed files with 15 additions and 23 deletions

View file

@ -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