diff options
author | Eric Wong <e@80x24.org> | 2013-10-30 22:16:14 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-31 05:04:37 +0000 |
commit | dee4be831cacbb8745b98b894c5e1ebc87078e2c (patch) | |
tree | 909e959ec5abc830aa21dba4346db9f578c44a1f /Documentation | |
parent | 602432714cd436b6f255e6ba6bc6fffbf5eca051 (diff) | |
download | yahns-dee4be831cacbb8745b98b894c5e1ebc87078e2c.tar.gz |
This should allow users to more-easily enable/disable apps and their dependent atfork_* hooks.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/yahns_config.txt | 11 |
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. |