Sha256: 7905465144f71081f95ee6ab0700c66a69bc091a9e2a62a1376df6101d3821fc
Contents?: true
Size: 643 Bytes
Versions: 6
Compression:
Stored size: 643 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
6 entries across 3 versions & 1 rubygems