Sha256: d2c8cf04ade9582c14260afa95cd1822e3c08151faee70d43596182a3e570777

Contents?: true

Size: 631 Bytes

Versions: 12

Compression:

Stored size: 631 Bytes

Contents

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

check process sphinx with pidfile <%= RUBBER_ROOT %>/log/searchd.<%= RUBBER_ENV %>.pid
  group sphinx-<%= RUBBER_ENV %>
  start program = "/usr/bin/sudo -u rails sh -c 'cd <%= RUBBER_ROOT %> && PATH=<%= rubber_env.ruby_prefix %>/bin:/usr/local/bin:$PATH RAILS_ENV=<%= RUBBER_ENV %> rake ts:start'"
  stop program  = "/usr/bin/sudo -u rails sh -c 'cd <%= RUBBER_ROOT %> && PATH=<%= rubber_env.ruby_prefix %>/bin:/usr/local/bin:$PATH RAILS_ENV=<%= RUBBER_ENV %> rake ts:stop'"
  if failed host <%= rubber_env.host %> port 3312 with timeout 5 seconds for 5 cycles then restart

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
axtro-rubber-1.2.3 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
axtro-rubber-1.2.2 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.3.2 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.3.1 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.3.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.2.1 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
axtro-rubber-1.2.1 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
axtro-rubber-1.2.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.2.0 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
nirvdrum-rubber-1.1.7 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.1.7 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
rubber-1.1.6 generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf