Method: ManageEngine::APMConfig#getDispatcher
- Defined in:
- lib/agent/configuration/am_configuration.rb
#getDispatcher ⇒ Object
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 |
# File 'lib/agent/configuration/am_configuration.rb', line 374 def getDispatcher @obj.log.info "Server: #{ENV['SERVER_SOFTWARE']}" dispatcher = "unknown" if defined?(PhusionPassenger) then dispatcher = "passenger" end if defined?(Unicorn) then dispatcher = "unicorn" end if defined?(Rainbows) then dispatcher = "rainbows" end dispatcher end |