Class: Cluster::Start
- Inherits:
-
Object
- Object
- Cluster::Start
- Includes:
- ExecBase
- Defined in:
- lib/mongrel_cluster/init.rb
Constant Summary
Constants included from ExecBase
ExecBase::STATUS_ERROR, ExecBase::STATUS_OK
Instance Method Summary collapse
Methods included from ExecBase
#chdir_cwd, #check_process, #cmd_flags, #cmd_name, #find_pid, #log, #log_error, #log_verbose, #pid_file_exists?, #port_log_file, #port_pid_file, #process_log_file, #process_pid_file, #read_options, #read_pid, #start, #status, #stop, #validate
Instance Method Details
#configure ⇒ Object
229 230 231 232 233 234 235 236 |
# File 'lib/mongrel_cluster/init.rb', line 229 def configure [ ['-C', '--config PATH', "Path to cluster configuration file", :@config_file, "config/mongrel_cluster.yml"], ['-v', '--verbose', "Print all called commands and output.", :@verbose, false], ['', '--clean', "Remove pid_file if needed before starting", :@clean, false], ['', '--only PORT', "Port number of cluster member", :@only, nil] ] end |
#run ⇒ Object
238 239 240 |
# File 'lib/mongrel_cluster/init.rb', line 238 def run start end |