summaryrefslogtreecommitdiff
path: root/doc/servicedir.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-20 14:52:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-20 14:52:26 +0000
commit26c5fee82736e56cff3d114ff9d6e3969d1ce061 (patch)
treea43283438dc8d22b339cda86b0d80c58ef86bf4d /doc/servicedir.html
parent1747a0f5142f0c36a61b37786368f05bcb3060f3 (diff)
downloads6-26c5fee82736e56cff3d114ff9d6e3969d1ce061.tar.xz
Add death tally support to s6-supervise, throttling support to s6_svstatus_t
Diffstat (limited to 'doc/servicedir.html')
-rw-r--r--doc/servicedir.html7
1 files changed, 7 insertions, 0 deletions
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 <tt>./finish</tt> 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. </li>
+ <li> An optional regular file named <tt>max-death-tally</tt>. 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. </li>
<li> A <a href="fifodir.html">fifodir</a> named <tt>event</tt>. It is automatically
created by <a href="s6-supervise.html">s6-supervise</a> if it does not exist.
<em>foo</em><tt>/event</tt>