module Spec module DaemonfileFactory def simple_daemonfile(*pools) code = "" pid_files = pools.map do |pool| if pool[:exit_on_start] end code << <