lib/process/daemon.rb in process-daemon-0.5.0 vs lib/process/daemon.rb in process-daemon-0.5.1

- old
+ new

@@ -129,14 +129,14 @@ # Interrupt all children processes, preferably to stop them so that they are not left behind. Process.kill(0, :INT) end def run - startup - trap("INT") do shutdown end + + startup end # A shared instance of the daemon. def self.instance @instance ||= self.new