From fafa34059864fb8985d66243270c1e72609d4762 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 11 Jan 2022 20:21:51 +0000 Subject: Catch SIGTERM in containers (for docker stop) Signed-off-by: Laurent Bercot --- doc/s6-linux-init-maker.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html index 1e87265..00a9722 100644 --- a/doc/s6-linux-init-maker.html +++ b/doc/s6-linux-init-maker.html @@ -337,6 +337,8 @@ Default is no utmpd service.
  • -C : create a set of scripts that is suitable for running in a container. This modifies some behaviours:
      +
    • SIGTERM will be caught by s6-svscan, and cause an orderly +shutdown of the container, as if the "poweroff" script had been invoked.
    • No early runleveld service is created. Changing runlevels via s6-linux-init-telinit -- cgit v1.2.3