diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-06-25 18:16:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-06-25 18:16:43 +0000 |
commit | 803eb463a54c54bb623176573c51f382f52ee9a9 (patch) | |
tree | 23a004cf5345773bcd5d270259579ea63cfcfab9 /doc | |
parent | eba790dff930c232d6b5266fdfda0b1231167609 (diff) | |
download | s6-803eb463a54c54bb623176573c51f382f52ee9a9.tar.xz |
Loosen nonzero servicedirs requirement on s6-svwait/s6-svlisten
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/s6-svlisten.html | 2 | ||||
-rw-r--r-- | doc/s6-svwait.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/s6-svlisten.html b/doc/s6-svlisten.html index 8fdbc88..96d3f74 100644 --- a/doc/s6-svlisten.html +++ b/doc/s6-svlisten.html @@ -52,6 +52,8 @@ their state changes. </li> <li> It spawns <em>prog...</em> as a child right after getting the initial state of all the monitored services. </li> <li> It then blocks until the wanted state happens. </li> + <li> If no service directories are listed (the block is empty), then +instead of doing all that, it immediately execs into <em>prog...</em>. </ul> <h2> Exit codes </h2> diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html index 553201b..daa497f 100644 --- a/doc/s6-svwait.html +++ b/doc/s6-svwait.html @@ -35,7 +35,7 @@ s6-svwait only waits for notifications; it never polls. <p> s6-svwait monitors one or more <a href="servicedir.html">service directories</a> given as its arguments, waiting for a state (ready, up or down) to -happen. +happen. If no service directories are listed, it immediately exits 0. </p> <h2> Exit codes </h2> |