Merge pull request #201 from sos4nt/patch-1
Terminate gracefully upon SIGHUP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user