Sha256: 6149f49abdf75dc546fc3de105b4946822c6f5fc635313ece123022a868b2e39

Contents?: true

Size: 645 Bytes

Versions: 33

Compression:

Stored size: 645 Bytes

Contents

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

  pidfile = "#{Rubber.root}/log/searchd.#{Rubber.env}.pid"
  start_program = "cd #{Rubber.root} && #{fetch(:rake, 'rake')} ts:start"
  stop_program = "cd #{Rubber.root} && #{fetch(:rake, '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

33 entries across 33 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-3.2.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-3.2.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-3.1.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-3.0.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-3.0.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.16.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.15.2 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.15.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.15.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.14.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.13.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.13.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.12.2 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.12.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.12.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.11.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.10.2 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.10.1 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf
rubber-2.10.0 templates/monit/config/rubber/role/sphinx/monit-sphinx.conf