Core of the `passenger` command (Passenger Standalone). Dispatches a subcommand to a specific class.
| SERVER_CONFIG_SPEC | = | [ { :name => :address, :type => :hostname, :type_desc => 'HOST', :short_cli => '-a', :default => '0.0.0.0', :desc => "Bind to the given address.\n" \ "Default: %DEFAULT%" | Server configuration options | |
| APPLICATION_LOADING_CONFIG_SPECS | = | [ { :name => :environment, :type_desc => 'NAME', :short_cli => '-e', :default => ENV['RAILS_ENV'] || ENV['RACK_ENV'] || ENV['NODE_ENV'] || ENV['PASSENGER_APP_ENV'] || 'development', :desc => "Web framework environment. Default:\n" \ "%DEFAULT%" | Application loading configuration options | |
| PROCESS_MANAGEMENT_CONFIG_SPECS | = | [ { :name => :max_pool_size, :type => :integer, :min => 1, :desc => "Maximum number of application processes.\n" \ "Default: #{DEFAULT_MAX_POOL_SIZE}" | Process management configuration options | |
| REQUEST_HANDLING_CONFIG_SPECS | = | [ { :name => :max_request_time, :type => :integer, :type_desc => 'SECONDS', :min => 0, :desc => "Abort requests that take too much time\n" \ '(Enterprise only)' | Request handling configuration options | |
| UNION_STATION_CONFIG_SPECS | = | [ { :name => :union_station_gateway_address, :cli => nil | Union Station configuration options | |
| NGINX_ENGINE_CONFIG_SPECS | = | [ { :name => :nginx_bin, :type => :path, :type_desc => 'FILENAME', :desc => 'Nginx binary to use as core' | Nginx engine configuration options | |
| ADVANCED_CONFIG_SPECS | = | [ { :name => :engine, :type_desc => 'NAME', :default => 'nginx', :desc => "Underlying HTTP engine to use. Available\n" \ "options: nginx (default), builtin" | Advanced configuration options | |
| CONFIG_SPECS | = | [ SERVER_CONFIG_SPEC, APPLICATION_LOADING_CONFIG_SPECS, PROCESS_MANAGEMENT_CONFIG_SPECS, REQUEST_HANDLING_CONFIG_SPECS, UNION_STATION_CONFIG_SPECS, NGINX_ENGINE_CONFIG_SPECS, ADVANCED_CONFIG_SPECS | ||
| CONFIG_DEFAULTS | = | {} |
Maps configuration options to their default value. Automatically set by
code later in this file.
To inspect the value of this array, run: ./dev/runner -r standalone/config_options_list -r pp # 'pp Standalone::CONFIG_DEFAULTS; nil' |
|
| CONFIG_NAME_INDEX | = | {} |
Indexes all configuration specification items by name.
To inspect the value of this array, run: ./dev/runner -r standalone/config_options_list -r pp # 'pp Standalone::CONFIG_NAME_INDEX; nil' |
|
| KNOWN_COMMANDS | = | [ ["start", "StartCommand"], ["stop", "StopCommand"], ["status", "StatusCommand"], ["version", "VersionCommand"] |