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
sml-rubber-1.5.5 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
sml-rubber-1.5.5 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.5 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.5 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.4 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.4 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.3 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.3 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.2 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.2 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf