Class: JCluster::Stop
- 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
97
98
99
100
101
102
103
|
# File 'lib/mongrel_jcluster/init.rb', line 97
def configure
options [
['-C', '--config PATH', "Path to cluster configuration file", :@config_file, "config/mongrel_jcluster.yml"],
['-f', '--force', "Force the shutdown.", :@force, false],
['-v', '--verbose', "Print all called commands and output.", :@verbose, false]
]
end
|
#run ⇒ Object
105
106
107
|
# File 'lib/mongrel_jcluster/init.rb', line 105
def run
stop
end
|