Browse Source

update docs and changes for killasgroup

Samuele Pedroni 13 years ago
parent
commit
ba7391e9b8
2 changed files with 18 additions and 0 deletions
  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.
   supervisord is run as root, otherwise the error is printed as before.
   Patch by Benoit Sigoure.
   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)
 3.0a10 (2011-03-30)
 -------------------
 -------------------
 
 

+ 13 - 0
docs/configuration.rst

@@ -712,6 +712,19 @@ where specified.
 
 
   *Introduced*: 3.0
   *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``
 ``user``
 
 
   If :program:`supervisord` runs as root, this UNIX user account will
   If :program:`supervisord` runs as root, this UNIX user account will