Method: Bosh::Agent::Monit.stop_services

Defined in:
lib/bosh_agent/monit.rb

.stop_services(attempts = 20) ⇒ Object



181
182
183
184
185
# File 'lib/bosh_agent/monit.rb', line 181

def stop_services(attempts=20)
  retry_monit_request(attempts) do |client|
    client.stop(:group => BOSH_APP_GROUP)
  end
end