From 4d157070b438574bb7c5c30cb62a135f056b4289 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 7 Feb 2021 11:08:11 +0000 Subject: Document an unintuitive case in s6-svc --- doc/s6-svc.html | 14 +++++++++++++- doc/s6-svlisten1.html | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/s6-svc.html b/doc/s6-svc.html index c4bd40a..62e93f9 100644 --- a/doc/s6-svc.html +++ b/doc/s6-svc.html @@ -134,7 +134,8 @@ is ready. Exit 1 if it is still not ready after 5 seconds.

Send a SIGTERM to the ftpd server; wait for s6-supervise to restart it, and block -until it has notified that it is ready to serve again. +until it has notified that it is ready to serve again. See the NOTES +section below for a caveat.

 s6-svc -a /service/httpd/log 
@@ -156,5 +157,16 @@ that will send the commands to the service. Any error message written during the waiting period will mention it is being written by s6-svlisten1; this is normal. +

Notes

+ + + diff --git a/doc/s6-svlisten1.html b/doc/s6-svlisten1.html index 91c8625..adb0ddd 100644 --- a/doc/s6-svlisten1.html +++ b/doc/s6-svlisten1.html @@ -71,7 +71,7 @@ See the explanation on this page.
  • -D : really down. s6-svlisten1 will wait until the service is down and the cleanup script in servicedir/finish has finished executing (or has timed out and been killed).
  • -
  • -r : restart. s6-svlisteni1 will wait until +
  • -r : restart. s6-svlisten1 will wait until the service has been started or restarted, i.e. they have been in the down state, then the up state.
  • -R : restart and ready. s6-svlisten1 will wait until -- cgit v1.2.3