mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
e421668b1b
commit
ef7cd21766
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue