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