lib/invoker/daemon.rb in invoker-1.2.0.pre1 vs lib/invoker/daemon.rb in invoker-1.2.0.pre2

- old
+ new

@@ -22,18 +22,18 @@ def stop kill_process end def pid_file - File.join(Dir.home, ".invoker", "#{process_name}.pid") + File.join(Invoker.home, ".invoker", "#{process_name}.pid") end def pid File.read(pid_file).strip.to_i end def log_file - File.join(Dir.home, ".invoker", "#{process_name}.log") + File.join(Invoker.home, ".invoker", "#{process_name}.log") end def daemonize if fork sleep(2)