anchor.diff:  HAPROXY_PID_FILE=/var/vcap/sys/run/tcp_router/haproxy.pid
   
   PATH=/var/vcap/packages/haproxy/bin:$PATH
  -NAME=haproxy
  +NAME=tcp_router
   DAEMON=$(which haproxy)
   CONFIG=/var/vcap/jobs/tcp_router/config/haproxy.conf
   DESC="HAProxy"
  
positive.code:     echo "${NAME}."
  
      ;;
  
    haproxy-status)
        status_haproxy
        ;;
    haproxy-reload)
        echo -n "Reloading ${DESC}: "
        ensure_dirs
        reload_haproxy
        echo "${NAME}."
        ;;
    haproxy-force-reload|haproxy-restart)
        echo -n "Restarting ${DESC}: "
        ensure_dirs
        restart_haproxy
        echo "${NAME}."
        ;;
    *)
      echo "Usage: tcp_router {start|stop|haproxy-restart|haproxy-reload|haproxy-force-reload|haproxy-status}"
  
      ;;
  
  
negative.code:     fi
  }
  
  case $1 in
  
    start)
      # 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
  
      #Start tcp_router
      echo -n "Starting ${NAME}."
  
      set +e
      host <%= p("dns_health_check_host") %>
      if [[ "0" != "$?" ]]; then
  