s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit e1026367525f66350c6e66ee9f809b289ae655ee
parent a39482a27960e4d11c122459175985615f7c35e0
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri,  4 Dec 2020 10:03:03 +0000

 Document lastfinish behaviour

Diffstat:
Mdoc/servicedir.html | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/doc/servicedir.html b/doc/servicedir.html @@ -113,6 +113,10 @@ the signal that killed the run script). </li> <li> If the finish script exits 125, then <a href="s6-supervise.html">s6-supervise</a> interprets this as a permanent failure for the service, and does not restart it, as if an <a href="s6-svc.html">s6-svc -O</a> command had been sent. </li> + <li> If <a href="s6-supervise.html">s6-supervise</a> has been instructed to exit after +the service dies, via a <tt>s6-svc -x</tt> command or a SIGHUP, then the next +invocation of <tt>finish</tt> will (obviously) be the last, and it will run with +stdin and stdout pointing to <tt>/dev/null</tt>. </li> </ul> </li> <li style="margin-bottom:1em"> A directory named <tt>supervise</tt>. It is automatically created by <a href="s6-supervise.html">s6-supervise</a> if it does not exist. This is where