# File lib/rbg.rb, line 316
    def pid_from_file
      raise Error, "PID not defined in '#{config_file}'" unless self.config.pid_path
      begin
        File.read(self.config.pid_path).strip.to_i
      rescue
        raise Error, "PID file not found"
      end
    end