From 958958d74337a6ddaf649968d188e768984100e0 Mon Sep 17 00:00:00 2001
From: Laurent Bercot Licensing
@@ -69,8 +69,8 @@ requirement if you link against the shared version of the skalibs library.
Interface
- s6-rc-oneshot-run [ -l live ] [ -b ] up|down n
+ s6-rc-oneshot-run [ -l live ] [ -b ] up|down|reload n
@@ -44,6 +44,8 @@ in the current compiled service database (i.e. the compiled linked from the
live directory).
Options
diff --git a/doc/s6-rc.html b/doc/s6-rc.html
index a7eb9d9..bb16113 100644
--- a/doc/s6-rc.html
+++ b/doc/s6-rc.html
@@ -244,6 +244,27 @@ below. It will run the engine to start a set of services.
below. It will run the engine to stop a set of services.
+ s6-rc reload sends a "reload" command to the list of services +given on the command line, which must all be up. For a longrun, +s6-rc reload sends an s6-svc -l +command to the service, which causes it to receive a SIGHUP, or any +overriding signal configured in the reload-signal file. +For a oneshot, the service's up script is executed, with +an additional RC_RELOAD environment variable containing 1. +
+ ++ s6-rc reload is special in that it does not use the live state +at all (except to verify that the services the user wants to reload are +indeed up) and does not involve the dependency engine. It only operates on +the services given as arguments on the command line. It is implemented at +the s6-rc level because it is sometimes useful to ask for a oneshot +to be reloaded. +
+diff --git a/doc/upgrade.html b/doc/upgrade.html index d63dc34..0aac5cf 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -31,7 +31,7 @@ minor and bugfix version changes.