Merge pull request #22672 from kevinmeredith/correct_trapped_signals
Correct docs for a docker container's clean-up.
(cherry picked from commit c273163e80
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
36a62de41f
commit
785665203d
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…
Add table
Reference in a new issue