From 26c5fee82736e56cff3d114ff9d6e3969d1ce061 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Mar 2018 14:52:26 +0000 Subject: Add death tally support to s6-supervise, throttling support to s6_svstatus_t --- doc/servicedir.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/servicedir.html b/doc/servicedir.html index 06b98b1..cad2cb4 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -143,6 +143,13 @@ milliseconds after which the ./finish script, if it exists, will be killed with a SIGKILL. The default is 5000: finish scripts are killed if they're still alive after 5 seconds. A value of 0 allows finish scripts to run forever. +
  • An optional regular file named max-death-tally. If such a file +exists, it must only contain an unsigned integer, which is the maximum number of +service death events that s6-supervise will keep track of. If the service dies +more than this number of times, the oldest events will be forgotten. Tracking +death events is useful, for instance, when throttling service restarts. The +value cannot be greater than 4096. If the file does not exist, a default of 20 +is used.
  • A fifodir named event. It is automatically created by s6-supervise if it does not exist. foo/event -- cgit v1.2.3