configurator "user" directive outside of after_fork
commit45e89c0fed05396652bd3061b9b4f0814dc7d37d
authorEric Wong <normalperson@yhbt.net>
Mon, 1 Mar 2010 08:47:40 +0000 (1 08:47 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 1 Mar 2010 08:47:40 +0000 (1 08:47 +0000)
tree5b7742de6a4702f4d979356e2bb561fce5515c52
parente37d8d0c6355e48fd6d2627313b9003a160f27fc
configurator "user" directive outside of after_fork

Allowing the "user" directive outside of after_fork reduces the
cognitive overhead for folks that do not need the complexity of
*_fork hooks.  Using Worker#user remains supported as it offers
fine-grained control of user switching.
lib/unicorn.rb
lib/unicorn/configurator.rb