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. --- INSTALL | 2 +- NEWS | 10 +++++++--- doc/index.html | 4 ++-- doc/servicedir.html | 9 +++++++++ doc/upgrade.html | 6 +++++- package/info | 2 +- src/supervision/s6-supervise.c | 23 +++++++++++++++++++++-- 7 files changed, 46 insertions(+), 10 deletions(-) diff --git a/INSTALL b/INSTALL index c9928a8..b171d44 100644 --- a/INSTALL +++ b/INSTALL @@ -6,7 +6,7 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.5.0.1 or later: http://skarnet.org/software/skalibs/ + - skalibs version 2.5.1.0 or later: http://skarnet.org/software/skalibs/ - execline version 2.3.0.1 or later: http://skarnet.org/software/execline/ This software will run on any operating system that implements diff --git a/NEWS b/NEWS index cc6cc59..e12b1e3 100644 --- a/NEWS +++ b/NEWS @@ -1,12 +1,17 @@ Changelog for s6. -In 2.5.0.1 +In 2.5.1.0 ---------- - Bugfix release. - s6-ftrig-listen1 now prints to stdout the last event (the last byte) it received and made it match the regexp it was given. -This is a bugfix. :) + - s6-supervise now recognizes the "timeout-kill" file in a service +directory. If this file exists and contains a nonzero integer t, +the behaviour of a "s6-svc -d" command is changed from +"send a SIGTERM and a SIGCONT" to "send a SIGTERM and a SIGCONT, +then if the service is still not dead after t milliseconds, send +a SIGKILL". In 2.5.0.0 @@ -28,4 +33,3 @@ no such file, it's run in a new session (same behaviour as before). stream. - s6-log's individual file size limit bumped to 256 MB. - Various bugfixes. (thanks jjk!) - diff --git a/doc/index.html b/doc/index.html index 2a30cf2..dd78b1d 100644 --- a/doc/index.html +++ b/doc/index.html @@ -83,7 +83,7 @@ with s6
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later
  • skalibs version -2.5.0.1 or later. It's a build-time requirement. It's also a run-time +2.5.1.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • execline version @@ -100,7 +100,7 @@ library.
  • Download