From 923d36dfe83f6f309da7c17fd70e306cd985182c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Jun 2026 04:44:18 +0000 Subject: Add s6-svc -l and reload-signal --- doc/s6-svc.html | 9 ++++++++- doc/servicedir.html | 6 ++++++ doc/upgrade.html | 3 +++ 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/s6-svc.html b/doc/s6-svc.html index a8a5192..5bdbcb1 100644 --- a/doc/s6-svc.html +++ b/doc/s6-svc.html @@ -29,7 +29,7 @@ knowing their PIDs, and without using horrible hacks such as .pid files.

Interface

-     s6-svc [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -T timeout ] [ -s signal | -abqhkti12pcyrPCK ] [ -oduDUxO ] servicedirs...
+     s6-svc [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -T timeout ] [ -s signal | -abqhkti12pcyrlPCK ] [ -oduDUxO ] servicedirs...
 

@@ -100,6 +100,13 @@ signal to kill it and letting s6-supervise start it again. By default, the signal is a SIGTERM; this can be configured via the ./down-signal file in the service directory. +

  • -l : If the service is up, reload it, by sending it a +signal that should make it reload its configuration. (Not all services support +this feature, in which case -l will be equivalent to -r.) +By default, the signal is a SIGHUP; this can be configured +via the ./reload-signal file in the service +directory.
  • +
  • -T timeout : if the -wstate option has been given, -T specifies a timeout (in milliseconds) after which s6-svc will exit 1 with an error message if diff --git a/doc/servicedir.html b/doc/servicedir.html index ced24d6..6824559 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -214,6 +214,12 @@ newline. This signal will be used to kill the supervised process when a s6-svc -d or s6-svc -r command is used. If the file does not exist, SIGTERM will be used by default.
  • +
  • An optional regular file named reload-signal. If such a file +exists, it must only contain the name or number of a signal, followed by a +newline. This signal will be sent to the supervised process when a +s6-svc -l command is used. If the file does not exist, +SIGHUP will be used by default.
  • +
  • An optional regular file named flag-newpidns. If such a file exists:

    in 2.15.0.0

    -- cgit v1.3.1