From e1b74a19d7de5d781ee0cb5eabc3a667ccf38389 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 24 Aug 2018 21:48:33 +0000 Subject: Mention the U event in s6-supervise's doc page --- doc/s6-supervise.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/s6-supervise.html b/doc/s6-supervise.html index d9852b5..2b5098d 100644 --- a/doc/s6-supervise.html +++ b/doc/s6-supervise.html @@ -132,6 +132,16 @@ If it already exists, it uses it as is, without modifying the subscription right s6-supervise spawns ./run.
  • s6-supervise sends a 'u' event to ./event whenever it successfully spawns ./run.
  • +
  • If there is a ./notification-fd file in the service directory +and s6-supervise is told that the service is ready, it +sends a 'U' event to ./event. There are several ways +to tell s6-supervise that the service is ready: +
  • When ./run dies, s6-supervise sends a 'd' event to ./event. It then spawns ./finish if it exists. ./finish will have ./run's exit code as first argument, or 256 if -- cgit v1.2.3