Skip to content

Instantly share code, notes, and snippets.

View neutronz's full-sized avatar

John Negron neutronz

  • Verily Life Sciences LLC
  • Orange County, CA
View GitHub Profile
@neutronz
neutronz / puma.monitrc
Created June 15, 2016 20:30 — forked from sudara/puma.monitrc
Example config needed to use monit with puma, monitoring workers for mem.
# this monit config goes in /etc/monit/conf.d
check process puma_master
with pidfile /data/myapp/current/tmp/puma.pid
start program = "/etc/monit/scripts/puma start"
stop program = "/etc/monit/scripts/puma stop"
group myapp
check process puma_worker_0
with pidfile /data/myapp/current/tmp/puma_worker_0.pid