Explorar el Código

update docs and changes for killasgroup

Samuele Pedroni hace 13 años
padre
commit
ba7391e9b8
Se han modificado 2 ficheros con 18 adiciones y 0 borrados
  1. 5 0
      CHANGES.txt
  2. 13 0
      docs/configuration.rst

+ 5 - 0
CHANGES.txt

@@ -28,6 +28,11 @@ Next release
   supervisord is run as root, otherwise the error is printed as before.
   Patch by Benoit Sigoure.
 
+- Add a boolean program option ``killasgroup``, defaulting to false,
+  if true when resorting to send SIGKILL to stop/terminate the process
+  send it to its whole process group instead to take care of possible
+  children as well and not leave them behind.
+
 3.0a10 (2011-03-30)
 -------------------
 

+ 13 - 0
docs/configuration.rst

@@ -712,6 +712,19 @@ where specified.
 
   *Introduced*: 3.0
 
+``killasgroup``
+
+  If true, when resorting to send SIGKILL to the program to terminate
+  it send it to its whole process group instead, taking care of its
+  children as well, useful e.g with Python programs using
+  :mod:`multiprocessing`.
+
+  *Default*: false
+
+  *Required*:  No.
+
+  *Introduced*: 3.0a11
+
 ``user``
 
   If :program:`supervisord` runs as root, this UNIX user account will