From 0d15a912d307df2bbe9396a2d819596c0d7824bb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 23 Apr 2026 16:17:10 +0000 Subject: Add flag-timeout-killpg for killing the whole pgroup after timeout-kill --- doc/s6-supervise.html | 13 +++++++++---- doc/servicedir.html | 5 +++++ 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/s6-supervise.html b/doc/s6-supervise.html index 8b53bbf..d45b23b 100644 --- a/doc/s6-supervise.html +++ b/doc/s6-supervise.html @@ -66,10 +66,15 @@ of certain files in the service directory.

s6-supervise does not support options, because it is normally not run -manually via a command line; it is usually launched by its own -supervisor, s6-svscan. The way to -tune s6-supervise's behaviour is via files in the -service directory. +manually via a command line; it is usually launched by +s6-svscan as part of a supervision tree. +

+ +

+ The way to tune s6-supervise's behaviour is via +files in the service directory. There +are a lot of configuration knobs there; if you want to get the most +out of your supervisor, reading this page is strongly advised.

Readiness notification support

diff --git a/doc/servicedir.html b/doc/servicedir.html index 722f71a..ced24d6 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -188,6 +188,11 @@ exist, or contains 0 or an invalid value, then the service is never forcibly killed (unless, of course, an s6-svc -k command is sent). +
  • An optional regular file named flag-timeout-killpg. If such a file +exists and a nonzero timeout-kill is defined, then at the end of the +timeout, the SIGKILL is sent to the whole process group of the service, instead of to +the pid of the service only.
  • +
  • An optional regular file named timeout-finish. If such a file exists, it must only contain an unsigned integer, which is the number of milliseconds after which the ./finish script, if it exists, will -- cgit v1.3.1