Sha256: 34828e421ce9fb07633071f4fdc7b780387cb9b4a396b259b6a29c7d5271cad4

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 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 = "bash -l -c '<%= start_program %>'"
  stop program = "bash -l -c '<%= stop_program %>'"

  if totalmem > 350.0 MB for 15 cycles then restart

Version data entries

6 entries across 3 versions & 2 rubygems

Version Path
rubber-1.5.1 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.1 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.0 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
rubber-1.5.0 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
nirvdrum-rubber-2.0.0.rails3.beta6 generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
nirvdrum-rubber-2.0.0.rails3.beta6 lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf