message: Centos: added mongod.conf file and options, added logic for single command to start mongod accross all distributions
diff: TEMP_DIR=/tmp
  ARCH=$(uname)
  DISK_MIN=20
  + BUILD_MONGO_DB_PLUGIN=false
  txtbld=$(tput bold)
  bldred=${txtbld}$(tput setaf 1)
  CXX_COMPILER=g++
  C_COMPILER=gcc
  export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
  - BUILD_MONGO_DB_PLUGIN=false
  MONGOD_CONF=""
  ;;
  "CentOS Linux")
  CXX_COMPILER=g++
  C_COMPILER=gcc
  export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
  - BUILD_MONGO_DB_PLUGIN=true
  MONGOD_CONF=${HOME}/opt/mongodb/mongod.conf
  export PATH=${HOME}/opt/mongodb/bin:$PATH
  ;;
  CXX_COMPILER=g++
  C_COMPILER=gcc
  export LLVM_DIR=${HOME}/opt/wasm/lib/cmake/llvm
  - BUILD_MONGO_DB_PLUGIN=true
  MONGOD_CONF=/etc/mongod.conf
  ;;
  "Linux Mint")
  FILE=${WORK_DIR}/scripts/eosio_build_ubuntu.sh
  CXX_COMPILER=clang++-4.0
  C_COMPILER=clang-4.0
  - BUILD_MONGO_DB_PLUGIN=true
  MONGOD_CONF=/etc/mongod.conf
  ;;
  "Ubuntu")
  FILE=${WORK_DIR}/scripts/eosio_build_ubuntu.sh
  CXX_COMPILER=clang++-4.0
  C_COMPILER=clang-4.0
  - BUILD_MONGO_DB_PLUGIN=true
  MONGOD_CONF=/etc/mongod.conf
  ;;
  *)
  export WASM_ROOT=${HOME}/opt/wasm
  . $FILE
  -
  fi
  if [ $ARCH == "Darwin" ]; then
  export WASM_ROOT=/usr/local/wasm
  CXX_COMPILER=clang++
  C_COMPILER=clang
  - BUILD_MONGO_DB_PLUGIN=true
  MONGOD_CONF=/usr/local/etc/mongod.conf
  . scripts/eosio_build_darwin.sh
  CMAKE=$( which cmake )
  fi
  + if [ -f ${MONGOD_CONF} ]; then
  + BUILD_MONGO_DB_PLUGIN=true
  + fi
  +
  $CMAKE -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} \
  -DCMAKE_C_COMPILER=${C_COMPILER} -DWASM_ROOT=${WASM_ROOT} \
  -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR} -DBUILD_MONGO_DB_PLUGIN=${BUILD_MONGO_DB_PLUGIN} \
  MONGODB_PID=$( pgrep -x mongod )
  if [ -z $MONGODB_PID ]; then
  printf "\n\tStarting MongoDB.\n"
  - ${HOME}/opt/mongodb/bin/mongod -f ${MONGOD_CONF} &
  + mongod -f ${MONGOD_CONF} &
  if [ $? -ne 0 ]; then
  printf "\n\tUnable to start MongoDB.\nExiting now.\n\n"
  exit -1
  