Class: Cow_Cluster::Restart
- Inherits:
-
Object
- Object
- Cow_Cluster::Restart
show all
- Includes:
- Base, Mongrel::Command::Base
- Defined in:
- lib/mongrel_cow_cluster/init.rb
Instance Method Summary
collapse
Methods included from Base
#close_rails_connections, #each_port, #get_unbound_port, #load_settings, #open_rails_connections, #port_log_file, #port_pid_file, #rails_preload, #read_options, #reopen_child_log, #restart_run, #spawn_child, #start_options, #stop_child, #stop_options, #validate_start_options, #validate_stop_options, #wait_for_child_ready, #write_child_pid
Instance Method Details
423
424
425
|
# File 'lib/mongrel_cow_cluster/init.rb', line 423
def configure
options start_options(true)
end
|
#run ⇒ Object
431
432
433
|
# File 'lib/mongrel_cow_cluster/init.rb', line 431
def run
restart_run(true)
end
|
#validate ⇒ Object
427
428
429
|
# File 'lib/mongrel_cow_cluster/init.rb', line 427
def validate
validate_stop_options && validate_start_options
end
|