# File lib/god/conditions/process_exits.rb, line 49 def deregister if File.exist?(self.watch.pid_file) pid = File.read(self.watch.pid_file).strip.to_i EventHandler.deregister(pid, :proc_exit) else applog(self.watch, :error, "#{self.watch.name} could not deregister: no such PID file #{self.watch.pid_file} (#{self.base_name})") end end