Class: Bosh::Agent::Message::Start

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh_agent/handler.rb

Class Method Summary collapse

Class Method Details

.process(args) ⇒ Object



396
397
398
399
400
401
402
403
404
405
406
# File 'lib/bosh_agent/handler.rb', line 396

def self.process(args)

  if Config.configure
    Bosh::Agent::Monit.start_services
  end

  "started"

rescue => e
  raise Bosh::Agent::MessageHandlerError, "Cannot start job: #{e}"
end