Re: process supervisor - considerations for docker

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Wed, 25 Feb 2015 22:05:36 +0100

On 25/02/2015 21:23, Gorka Lertxundi wrote:
> Laurent, any differences between `kill -15 1` and `s6-svscanctl -t /path/to/whatever`?

  Well, maybe it's not the case with a fake process 1 created by Docker,
but normally "kill -15 1" just doesn't work. The kernel is supposed
to ignore any signal sent to process 1 from another process.
(The kernel itself can raise signals in process 1, though: for instance,
on Linux, a SIGINT when you Ctrl-Alt-Del on the console, if
/proc/sys/kernel/ctrl-alt-del is 0.)

  So, to be safe, use s6-svscanctl -t.

-- 
  Laurent
Received on Wed Feb 25 2015 - 21:05:36 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC