anchor.diff:  
   console output
   
  -kill timeout 10
  +kill timeout 20
   
   limit nofile 16384 32768
   
  
positive.code:   su -s /bin/bash -c "${DAEMON} -f -Des.path.conf=$CONFIG_DIR -Des.path.home=$ES_HOME -Des.path.logs=$LOG_DIR -Des.path.data=$DATA_DIR -Des.path.work=$WORK_DIR" <%= @run_as_user %>
  end script
  
  pre-stop script
    exec curl -XPOST http://localhost:9200/_shutdown
  end script
negative.code: 
  stop on runlevel [016]
  
  respawn
  
  env ES_HOME=<%= @es_home %>
  env ES_MIN_MEM=<%= @es_min_mem %>
  