about summary refs log tree commit diff
path: root/doc/s6-svc.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-05-07 22:06:36 +0000
committerLaurent Bercot <ska@appnovation.com>2024-05-07 22:06:36 +0000
commit15e3e402c59089514f590bab8804f0ed60f0fee3 (patch)
treee29847fcb9b5e3913c3e4f83b11af62b30d225bc /doc/s6-svc.html
parentb827410052a640f65650d1b72d5f63d9ada28933 (diff)
downloads6-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.html10
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>&nbsp;: once. Equivalent to "-uO". </li>
  <li> <tt>-d</tt>&nbsp;: 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>&nbsp;: 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>&nbsp;: send a SIGSTOP to the <em>process group</em> of the supervised process </li>
+ <li> <tt>-C</tt>&nbsp;: send a SIGCONT to the <em>process group</em> of the supervised process </li>
+ <li> <tt>-K</tt>&nbsp;: send a SIGKILL to the <em>process group</em> of the supervised process </li>
 </ul>
 
 <h2> Usage examples </h2>