Method: CortexReaver.run
- Defined in:
- lib/cortex_reaver.rb
.run ⇒ Object
Once environment is prepared, run Ramaze
| 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 | # File 'lib/cortex_reaver.rb', line 377 def self.run # Shutdown callback at_exit do # Remove pidfile FileUtils.rm(config.pidfile) if File.exist? config.pidfile end Ramaze::Log.info "Cortex Reaver #{Process.pid} stalking victims." # Run Ramaze roots = [LIB_DIR] roots.unshift config.root if config.root Ramaze.start :root => roots puts "Cortex Reaver finished." end |