Skip to content

Commit

Permalink
Add commonly used graceful signals
Browse files Browse the repository at this point in the history
  • Loading branch information
jensenak committed Apr 5, 2017
1 parent 4605fab commit 49cf946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tiller
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ module Tiller
log.info("Child process forked with PID #{child_pid}")

# Catch signals and send them on to the child processes
[ :INT, :TERM, :HUP ].each do |sig|
[ :INT, :TERM, :HUP, :QUIT, :USR1, :USR2, :WINCH ].each do |sig|
Signal.trap(sig) do
pids.each { |p| signal(sig, p, :verbose => config[:verbose])}
end
Expand Down

0 comments on commit 49cf946

Please sign in to comment.