check process <%= app_name %>-server

with pidfile "/apps/<%= app_name %>/current/tmp/pids/puma.pid"
start program = "/sbin/start <%= app_name %>-web-server"
stop program = "/sbin/stop <%= app_name %>-web-server"
if mem is greater than 1500.0 MB for 1 cycles then exec "/sbin/hotrestart <%= app_name %>"
if cpu is greater than 60% for 2 cycles then exec "/sbin/hotrestart <%= app_name %>"

group <%= app_name %>