# File lib/raemon/master.rb, line 32 def initialize(options={}) @detach = options[:detach] || false @name = options[:name] || 'Raemon' @pid_file = options[:pid_file] @logger = options[:logger] || Logger.new(STDOUT) @timeout = options[:timeout] || 180 # 3 minutes @memory_limit = options[:memory_limit] # in MB @master_pid = Process.pid daemonize if @detach end