Sha256: f20b1652e125b819334515049aa8494343f0aa7efb1cad8654b1ce24abc3ee2f

Contents?: true

Size: 569 Bytes

Versions: 22

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

22 entries across 11 versions & 1 rubygems

Version Path
rubber-1.14.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.14.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.14.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.14.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.13.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.12.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.11.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.11.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.10.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.10.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf