Class: JCluster::Start
- Inherits:
-
Object
show all
- Includes:
- ExecBase
- Defined in:
- lib/mongrel_jcluster/init.rb
Instance Method Summary
collapse
Methods included from ExecBase
#read_options, #start, #stop, #validate
Instance Method Details
82
83
84
85
86
87
|
# File 'lib/mongrel_jcluster/init.rb', line 82
def configure
options [
['-C', '--config PATH', "Path to cluster configuration file", :@config_file, "config/mongrel_jcluster.yml"],
['-v', '--verbose', "Print all called commands and output.", :@verbose, false]
]
end
|
#run ⇒ Object
89
90
91
|
# File 'lib/mongrel_jcluster/init.rb', line 89
def run
start
end
|