From 4c43193fa3f7b49e68778d7345759f27c883072f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 19 May 2017 11:52:33 +0000 Subject: Add the timeout-kill feature to s6-supervise. Prepare for version 2.5.1.0. --- doc/servicedir.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/servicedir.html') diff --git a/doc/servicedir.html b/doc/servicedir.html index a0d98f0..839e4d5 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -128,6 +128,15 @@ notification from the service and broadcast readiness, i.e. any s6-svlisten1 -U or s6-svlisten -U processes will be triggered. +
  • An optional regular file named timeout-kill. If such a file +exists, it must only contain an unsigned integer t. If t +is nonzero, then on receipt of a s6-svc -d command, +which sends a SIGTERM and a SIGCONT to the service, a timeout of t +milliseconds is set; and if the service is still not dead after t +milliseconds, then it is sent a SIGKILL. If timeout-kill does not +exist, or contains 0 or an invalid value, then the service is never +forcibly killed (unless, of course, a s6-svc -k +command is sent).
  • 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.2.3