From fd5844b2baef6c1acaca9ca1eca0509e3a4f840d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 29 Oct 2013 00:02:56 +0000 Subject: implement user switching This was documented (incorrectly) and not implemented for either the master/worker or single process cases. Implement and test all (with mocks, so not fully-tested). --- Documentation/yahns_config.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Documentation/yahns_config.txt') diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index 258ca8d..db24cad 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -384,8 +384,10 @@ Ruby it is running under. Runs application process(es) as the specified USER and GROUP. - The master process always stays running as the user who started it. - This switch will occur after calling the after_fork hook. + If using worker_processes, this only affects the workers and the + master stays running as the user who started it. This switch will + occur before calling the atfork_child hook(s). + GROUP is optional and will not change if unspecified. Default: none (no user switching is done) -- cgit v1.2.3-24-ge0c7