diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-04-20 23:00:13 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-04-20 23:00:13 +0000 |
| commit | bfffc7a8685d914873eaa1fc918f660b1fee4d8e (patch) | |
| tree | 2ac67a8d01ce66755a1a88ccceeff209a24eae5c /doc/s6-rc-oneshot-run.html | |
| parent | b802dc3f5c30d378a9d25b6acdef09780b591acf (diff) | |
| download | s6-rc-bfffc7a8685d914873eaa1fc918f660b1fee4d8e.tar.gz | |
Prepare for 0.6.1.0; set RC_NAME in oneshots
Diffstat (limited to 'doc/s6-rc-oneshot-run.html')
| -rw-r--r-- | doc/s6-rc-oneshot-run.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/s6-rc-oneshot-run.html b/doc/s6-rc-oneshot-run.html index 5e641bd..ee454ae 100644 --- a/doc/s6-rc-oneshot-run.html +++ b/doc/s6-rc-oneshot-run.html @@ -31,7 +31,7 @@ in internal scripts created by <a href="s6-rc.html">s6-rc</a> execution. </p> -<h2> Interface </h2> +<h2 id="interface"> Interface </h2> <pre> s6-rc-oneshot-run [ -l <em>live</em> ] [ -b ] up|down <em>n</em> @@ -42,9 +42,11 @@ in internal scripts created by of the <em>n</em>th oneshot service defined in the current compiled service database (i.e. the compiled linked from the live directory). </li> + <li> <tt>up</tt> or <tt>down</tt> are run with the <tt>RC_NAME</tt> +environment variable set to the name of the service. </li> </ul> -<h2> Options </h2> +<h2 id="options"> Options </h2> <ul> <li> <tt>-l <em>live</em></tt> : use the live directory in @@ -57,7 +59,7 @@ By default, s6-rc-oneshot-run fails with an error message if the database is currently in use. </li> </ul> -<h2> Exit codes </h2> +<h2 id="exitcodes"> Exit codes </h2> <ul> <li> 3: invalid service number </li> |
