diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-13 09:37:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-13 09:37:43 +0000 |
commit | 1ca64a8b8c60ddc30f7e6acb8c2b5e6f3c3ed137 (patch) | |
tree | 636b67ded50990ae1fd02c5dd869421bec9d34da /doc | |
parent | c787c97df6c38673f5cd3ab6cbb4c8386f280d79 (diff) | |
download | s6-portable-utils-1ca64a8b8c60ddc30f7e6acb8c2b5e6f3c3ed137.tar.gz s6-portable-utils-1ca64a8b8c60ddc30f7e6acb8c2b5e6f3c3ed137.tar.xz s6-portable-utils-1ca64a8b8c60ddc30f7e6acb8c2b5e6f3c3ed137.zip |
Document chain-loading capability of s6-sleep
Diffstat (limited to 'doc')
-rw-r--r-- | doc/s6-sleep.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/s6-sleep.html b/doc/s6-sleep.html index 438979c..deceb74 100644 --- a/doc/s6-sleep.html +++ b/doc/s6-sleep.html @@ -19,20 +19,22 @@ <h1> The <tt>s6-sleep</tt> program </h1> <p> - s6-sleep sleeps for a given time. + s6-sleep sleeps for a given time, then optionally executes a program. </p> <h2> Interface </h2> <pre> - s6-sleep [ -m ] <em>time</em> + s6-sleep [ -m ] <em>time</em> [ <em>prog...</em> ] </pre> -<p> - s6-sleep acts as the generic +<ul> + <li> s6-sleep acts as the generic <a href="http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sleep.html">sleep</a> utility. -It ignores non-lethal signals. -</p> +It ignores non-lethal signals. </li> + <li> If there are <em>prog...</em> arguments, then s6-sleep executes +into <em>prog...</em> after sleeping. Else, it exits 0. </li> +</ul> <h2> Extra options </h2> |