Browse code

Merge pull request #22672 from kevinmeredith/correct_trapped_signals

Correct docs for a docker container's clean-up.
(cherry picked from commit c273163e80da5f5895db1dc1102a470ec45e0a69)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sven Dowideit authored on 2016/05/12 13:15:39
Showing 1 changed files
... ...
@@ -834,7 +834,7 @@ does some more work:
834 834
 
835 835
 # USE the trap if you need to also do manual cleanup after the service is stopped,
836 836
 #     or need to start multiple services in the one container
837
-trap "echo TRAPed signal" HUP INT QUIT KILL TERM
837
+trap "echo TRAPed signal" HUP INT QUIT TERM
838 838
 
839 839
 # start service in background here
840 840
 /usr/sbin/apachectl start