Sha256: 0b0b73c01430b5bc514dd4c1201b5ff607e429cc769b2d59b0fa68a01a2cac53

Contents?: true

Size: 605 Bytes

Versions: 14

Compression:

Stored size: 605 Bytes

Contents

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

  pidfile = "#{RUBBER_ROOT}/log/searchd.#{RUBBER_ENV}.pid"
  start_program = "cd #{RUBBER_ROOT} && rake ts:start"
  stop_program = "cd #{RUBBER_ROOT} && rake ts:stop"
%>

check process sphinx with pidfile <%= pidfile %>
  group sphinx-<%= RUBBER_ENV %>
  start program = "/usr/bin/sudo -H -u <%= rubber_env.app_user %> bash -l -c '<%= start_program %>'"
  stop program = "/usr/bin/sudo -H -u <%= rubber_env.app_user %> bash -l -c '<%= stop_program %>'"
  if failed host <%= rubber_env.host %> port 9312 with timeout 5 seconds for 5 cycles then restart

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
rubber-1.13.2 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.13.2 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.13.1 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.13.1 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.13.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.13.0 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.2 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.2 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.1 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.1 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.0 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.12.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.11.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.11.0 lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf