Sha256: 2661d59db8c08bcce7626c48494f4091ea6ed935dd80d19165b3e125ff3a419e

Contents?: true

Size: 569 Bytes

Versions: 50

Compression:

Stored size: 569 Bytes

Contents

<%
  @path = '/etc/monit/monit.d/monit-resque_web.conf'

  PIDFILE = "/var/run/resque_web.pid"
  start_program = "HOME=/root resque-web --pid-file #{PIDFILE} --port #{rubber_env.resque_web_port} --no-launch #{RUBBER_ROOT}/config/initializers/resque.rb"
  stop_program  = "HOME=/root resque-web --pid-file #{PIDFILE} --kill"
%>

check process resque_web with pidfile <%= PIDFILE %>
  group resque_web
  start program = "/bin/bash -l -c '<%= start_program %>'"
  stop program = "/bin/bash -l -c '<%= stop_program %>'"

  if totalmem > 350.0 MB for 15 cycles then restart

Version data entries

50 entries across 25 versions & 5 rubygems

Version Path
rubber-jcarnegie-0.0.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-jcarnegie-0.0.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.9.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.9.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.9.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.9.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.8.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.8.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
nogara-rubber-1.7.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
nogara-rubber-1.7.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.7.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.3 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.3 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf