class MiGA::Lair
def check_directories
#
def check_directories each_project do |project| d = project_daemon(project) next if d.active? l_alive = d.last_alive unless l_alive.nil? next if options[:trust_timestamp] && project.metadata.updated < l_alive next if l_alive > Time.now - options[:wait_for] end launch_daemon(project) end end