Merge pull request #201 from sos4nt/patch-1

Terminate gracefully upon SIGHUP
This commit is contained in:
David Dollar
2012-06-07 19:40:38 -07:00

View File

@@ -36,6 +36,7 @@ class Foreman::Engine
trap("TERM") { puts "SIGTERM received"; terminate_gracefully }
trap("INT") { puts "SIGINT received"; terminate_gracefully }
trap("HUP") { puts "SIGHUP received"; terminate_gracefully }
assign_colors
spawn_processes