anchor.diff:      fi
   }
   
  -restart_haproxy() {
  -    stop_haproxy
  -    start_haproxy
  -}
  -
  -reload_haproxy() {
  -    status_haproxy
  -    if [ "${RETVAL}" = 0 ]; then
  -        RETVAL=0
  -        echo "$("${TIMESTAMP}"): reloading HAProxy"
  -        set +e
  -        "${DAEMON}" -f "${CONFIG}" -p "${HAPROXY_PID_FILE}" -D -sf $(cat $HAPROXY_PID_FILE) 0<&-
  -        RETVAL=$?
  -        set -e
  -        case "${RETVAL}" in
  -            0)
  -                echo "$("${TIMESTAMP}"): Finished reloading HAProxy"
  -                echo "SUCCESS"
  -                ;;
  -            *)
  -                echo "$("${TIMESTAMP}"): Errored reloading HAProxy"
  -                echo "$("${TIMESTAMP}"): Errored reloading HAProxy" >&2
  -                remove_pid
  -                echo "FAILED - check logs"
  -                RETVAL=1
  -                ;;
  -        esac
  -    else
  -        echo "HAProxy is not currently running"
  -    fi
  -}
   case $1 in
   
     start)
  -    #Start HaProxy
  -    echo -n "Starting ${DESC}: "
  -    
  +    # setup log dir
       SCRIPT=$(basename $0)
       exec 1>> $LOG_DIR/$SCRIPT.log
       exec 2>> $LOG_DIR/$SCRIPT.err.log
       
       tee_output_to_sys_log "${LOG_DIR}" "tcp_router"
   
  +    #Start HaProxy
  +    echo -n "Starting ${DESC}: "
       start_haproxy
  -    
  -    echo "${NAME}."
   
       #Start tcp_router
  +    echo -n "Starting ${NAME}."
  +
       set +e
       host <%= p("dns_health_check_host") %>
       if [[ "0" != "$?" ]]; then
  
positive.code: 
  RETVAL=0
  
  remove_pid() {
      rm -f "${HAPROXY_PID_FILE}"
  }
  
  start_haproxy() {
      status_haproxy
      if [ "${RETVAL}" = 0 ]; then
  
negative.code:             *)
                  echo "$("${TIMESTAMP}"): Errored starting HAProxy"
                  echo "$("${TIMESTAMP}"): Errored starting HAProxy" >&2
                  echo "$("${TIMESTAMP}"): Removing stale PID file for HAProxy"
                  rm -f "${HAPROXY_PID_FILE}"
                  echo "FAILED - check logs"
                  RETVAL=1
                  ;;
  