diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-05-07 22:06:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-05-07 22:06:36 +0000 |
commit | 15e3e402c59089514f590bab8804f0ed60f0fee3 (patch) | |
tree | e29847fcb9b5e3913c3e4f83b11af62b30d225bc /doc/s6-svc.html | |
parent | b827410052a640f65650d1b72d5f63d9ada28933 (diff) | |
download | s6-15e3e402c59089514f590bab8804f0ed60f0fee3.tar.gz s6-15e3e402c59089514f590bab8804f0ed60f0fee3.tar.xz s6-15e3e402c59089514f590bab8804f0ed60f0fee3.zip |
Add process group support to s6-supervise
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-svc.html')
-rw-r--r-- | doc/s6-svc.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/s6-svc.html b/doc/s6-svc.html index 208ee9c..de25dd0 100644 --- a/doc/s6-svc.html +++ b/doc/s6-svc.html @@ -28,7 +28,7 @@ knowing their PIDs, and without using horrible hacks such as .pid files. <h2> Interface </h2> <pre> - s6-svc [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -T <em>timeout</em> ] [ -s <em>signal</em> | -abqhkti12pcy ] [ -roduDUxO ] <em>servicedir</em> + s6-svc [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -T <em>timeout</em> ] [ -s <em>signal</em> | -abqhkti12pcyrPCK ] [ -oduDUxO ] <em>servicedir</em> </pre> <p> @@ -58,7 +58,7 @@ supervised process. <em>signal</em> can be given as its name (case- insensitive) or its number, but only the signals listed above are accepted - you cannot, for instance, manually send a SIGSEGV to the supervised process. </li> -</ul> <br /> +</ul> <br> <ul> <li> <tt>-o</tt> : once. Equivalent to "-uO". </li> <li> <tt>-d</tt> : down. If the supervised process is up, send it @@ -117,7 +117,11 @@ option had been given instead. </li> started or restarted. </li> <li> <tt>-wR</tt> : s6-svc will not exit until the service has been started or restarted and has notified readiness. </li> - +</ul> <br> +<ul> + <li> <tt>-P</tt> : send a SIGSTOP to the <em>process group</em> of the supervised process </li> + <li> <tt>-C</tt> : send a SIGCONT to the <em>process group</em> of the supervised process </li> + <li> <tt>-K</tt> : send a SIGKILL to the <em>process group</em> of the supervised process </li> </ul> <h2> Usage examples </h2> |