Skip to content

Commit

Permalink
Merge pull request #53 from jensenak/master
Browse files Browse the repository at this point in the history
Add commonly used graceful signals
  • Loading branch information
markround committed Apr 11, 2017
2 parents 4605fab + 49cf946 commit 6269b11
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 6269b11

Please sign in to comment.