Class: JCluster::Restart
- Inherits:
-
Object
- Object
- JCluster::Restart
- 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
#configure ⇒ Object
113 114 115 116 117 118 119 |
# File 'lib/mongrel_jcluster/init.rb', line 113 def configure [ ['-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
121 122 123 124 |
# File 'lib/mongrel_jcluster/init.rb', line 121 def run stop start end |