Class: Seesaw::Ripple

Inherits:
Object
  • Object
show all
Includes:
Mongrel::Command::Base, CommandBase
Defined in:
lib/seesaw/init.rb

Instance Method Summary collapse

Methods included from CommandBase

#configure, #log, #parse_options, #restart_http, #restart_mongrels, #shutdown_half_cluster, #start_cluster, #start_mongrels, #stop_mongrels, #switch_to_half_cluster, #symlink, #validate

Instance Method Details

#runObject



99
100
101
102
103
104
105
# File 'lib/seesaw/init.rb', line 99

def run
  parse_options
  switch_to_half_cluster(1)
  switch_to_half_cluster(2)
  start_cluster
  log "done"
end