class Foreman::Engine

def start

def start
  proctitle "ruby: foreman master"
  termtitle "#{File.basename(@directory)} - foreman"
  trap("TERM") { puts "SIGTERM received"; terminate_gracefully }
  trap("INT")  { puts "SIGINT received";  terminate_gracefully }
  assign_colors
  spawn_processes
  watch_for_output
  watch_for_termination
end