<% unless p("cf_networking.disable") %>
<%
  def ip
    p("cf_networking.policy_server.listen_ip")
  end

  def port
    p("cf_networking.policy_server.listen_port")
  end
%>

curl <%= ip %>:<%= port %>/health \
  --connect-timeout 5
<% end %>
