Skip to content

Commit

Permalink
Propagate exit signal to child processes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaloo committed Aug 22, 2014
1 parent ee7fd63 commit c276b02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

set -m

trap 'kill $(jobs -p)' EXIT
trap "exit" CHLD

/usr/local/bin/docker-gen -watch /app/logrotate.tmpl /etc/logrotate.d/docker &
Expand Down

0 comments on commit c276b02

Please sign in to comment.