# Was the server running before the upgrade? If so, restart the new one.
if [ "$SERVER_TO_START" = "true" ] ; then
# Restart in the same way that mysqld will be started normally.
if [ -x /etc/init.d/mysql ] ; then /etc/init.d/mysql start
echo "Giving mysqld 5 seconds to start"
sleep 5
fi
fi
The upstream script performs the restart
# Was the server running before the upgrade? If so, restart the new one.
/etc/init. d/mysql start
if [ "$SERVER_TO_START" = "true" ] ; then
# Restart in the same way that mysqld will be started normally.
if [ -x /etc/init.d/mysql ] ; then
echo "Giving mysqld 5 seconds to start"
sleep 5
fi
fi