Browse code

Correct docs for a docker container's clean-up.

The 'Unix Signals' (https://en.wikipedia.org/wiki/Unix_signal#Handling_signals) wiki explains that:
> 'There are two signals which cannot be intercepted and handled: SIGKILL and SIGSTOP.'

Signed-off-by: kevinmeredith <kevin.m.meredith@gmail.com>

kevinmeredith authored on 2016/05/12 03:49:24
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