Method: Deamons::Geth#initialize
- Defined in:
- lib/Deamons/geth.rb
#initialize ⇒ Geth
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/Deamons/geth.rb', line 8 def initialize Process.fork do Process.daemon(true) pid = Process.pid redirect("#{pid}.outfile", "#{pid}.errfile") write_pid_file(pid, "#{pid}.pid") start end puts "Starting Daemon..." end |