Parent

Methods

Included Modules

Cluster::Restart

Public Instance Methods

configure() click to toggle source
# File lib/mongrel_cluster/init.rb, line 264
def configure 
  options [ 
    ['-C', '--config PATH', "Path to cluster configuration file", :@config_file, "config/mongrel_cluster.yml"],
    ['-f', '--force', "Force the shutdown.", :@force, false],
    ['-v', '--verbose', "Print all called commands and output.", :@verbose, false],
    ['', '--clean', "Call stop and start with --clean", :@clean, false],        
    ['', '--only PORT', "Port number of cluster member", :@only, nil]       
  ]
end
run() click to toggle source
# File lib/mongrel_cluster/init.rb, line 274
def run
  stop
  start
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.