class Falcon::Command::Host

Manages a {Controller::Host} instance which is responsible for running applications in a production environment.
Implements the ‘falcon host` command. Designed for deployment.

def call

Prepare the environment and run the controller.
def call
	Console.logger.info(self) do |buffer|
		buffer.puts "Falcon Host v#{VERSION} taking flight!"
		buffer.puts "- Configuration: #{@paths.join(', ')}"
		buffer.puts "- To terminate: Ctrl-C or kill #{Process.pid}"
		buffer.puts "- To reload: kill -HUP #{Process.pid}"
	end
	
	Async::Service::Controller.run(self.configuration, container_class: self.container_class)
end

def container_class

The container class to use.
def container_class
	Async::Container.best_container_class
end