---
applications:
- name: cfbot
  memory: 256M
  no-route: true
  services:
  - cfbot

---
applications:
- name: cfbot
  memory: 256M
  no-route: true
  health-check-type: process
  services:
  - cfbot

Set default health check type
fix: Set default health check type

The default health check type for new Bluemix apps is 'port'. This means
that a new deployment of cfbot keeps getting killed because the
healthcheck fails to make a TCP connection.

The advice in the CF docs for the Diego architecture is at
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#no-route

> "In the Diego architecture, no-route skips creating and binding a route
>  for the app, but does not specify which type of health check to perform.
>  If your app does not listen on a port because it is a worker or a
>  scheduler app, then it does not satisfy the port-based health check and
>  Cloud Foundry marks it as crashed."

The advice is that you should set the health-check type to "process".

Signed-off-by: Dale Lane <0d4bb0a930906028dcd57d715981c882b77ea5db@uk.ibm.com>
