From 958958d74337a6ddaf649968d188e768984100e0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Jun 2026 05:27:48 +0000 Subject: Prepare for 0.6.2.0; implement s6-rc reload Also support reload-signal in the service definition directory. --- doc/s6-rc.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/s6-rc.html') 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

+ +

+ 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. +

+

s6-rc change

-- cgit v1.3.1