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-1.6.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.6.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.11 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.11 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.10 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.10 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.9 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.9 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.8 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.8 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
axtro-rubber-1.5.7.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
axtro-rubber-1.5.7.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
axtro-rubber-1.5.7 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
axtro-rubber-1.5.7 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.7 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.7 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.6 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.6 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf