Sha256: cba8b6a7760fa4f67f4796a07e17371577ad39434ac9b038b43afd8866d99e63
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
# Monit configuration for NGINX : <%= fetch(:application) %> check process nginx with pidfile /var/run/nginx.pid start program = "/etc/init.d/nginx start" stop program = "/etc/init.d/nginx stop" # if does not exist then start # (default) # if does not exist for 3 cycles then <%= monit_alert %> if 3 restarts within 5 cycles then <%= monit_alert %> if children > 250 then restart if failed host 127.0.0.1 port 80 then restart if cpu is greater than 40% for 2 cycles then <%= monit_alert %> if cpu > 60% for 5 cycles then restart if 10 restarts within 10 cycles then timeout
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
magic_recipes_two-0.0.95 | lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb |