Skip to content

Commit

Permalink
Merge pull request moby#22672 from kevinmeredith/correct_trapped_signals
Browse files Browse the repository at this point in the history
Correct docs for a docker container's clean-up.
  • Loading branch information
SvenDowideit committed May 12, 2016
2 parents f7c79cd + ef7cd21 commit c273163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ does some more work:
# USE the trap if you need to also do manual cleanup after the service is stopped,
# or need to start multiple services in the one container
trap "echo TRAPed signal" HUP INT QUIT KILL TERM
trap "echo TRAPed signal" HUP INT QUIT TERM
# start service in background here
/usr/sbin/apachectl start
Expand Down

0 comments on commit c273163

Please sign in to comment.