# File lib/raemon/master.rb, line 25 def self.stop(options={}) pid_file = options[:pid_file] pid = options[:pid] || (File.read(pid_file).to_i rescue 0) Process.kill('QUIT', pid) if pid > 0 rescue Errno::ESRCH end