# # ------------------------------------------------------------------ # Signal SUCCESS OR FAILURE of Wait Handle # ------------------------------------------------------------------ SCRIPT_DIR=/home/ec2-user/rocketmq-deploy if [ -z "${INSTALL_LOG_FILE}" ] ; then INSTALL_LOG_FILE=${SCRIPT_DIR}/install.log fi log() { echo $* 2>&1 | tee -a ${INSTALL_LOG_FILE} } usage() { cat <