about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/yahns_config.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt
index e58e578..3679494 100644
--- a/Documentation/yahns_config.txt
+++ b/Documentation/yahns_config.txt
@@ -176,6 +176,14 @@ Ruby it is running under.
 
 ## APP-BLOCK DIRECTIVES
 
+* atfork_prepare, atfork_parent, atfork_child
+
+    These are identical to the methods defined in WORKER_PROCESSES-LEVEL
+    DIRECTIVES, however they are available inside the app blocks for
+    convenience in case it is easier to organize per-app hooks.
+
+    Default: (none)
+
 * check_client_connection BOOLEAN
 
     When enabled, yahns will check the client connection by writing
@@ -467,6 +475,9 @@ Ruby it is running under.
 
 ## WORKER_PROCESSES-LEVEL DIRECTIVES
 
+Note: all of the atfork_* hooks described here are available inside the
+"app" blocks, too.
+
 * atfork_prepare &BLOCK
 
     This &BLOCK is executed in the parent before fork(2) operation.