Sha256: 9cd0bff7847ed26c0399fb18b9f3b48f5ab5a42270eeb182b971385ab52b193c
Contents?: true
Size: 643 Bytes
Versions: 42
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
42 entries across 42 versions & 1 rubygems