gitweb: support GITWEB_FCGI_NPROC as --nproc alternative
commite25d72159d1ed8a822da3a78ec93885b1bc1b9ba
authorKyle J. McKay <mackyle@gmail.com>
Tue, 21 Apr 2015 02:42:54 +0000 (20 19:42 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 21 Apr 2015 02:42:54 +0000 (20 19:42 -0700)
tree7854f7e59e0f7bfff3d6a6721410c1fa71d494b5
parentc5beb829e7fac8563045edc7160a1ec763e4aa5c
gitweb: support GITWEB_FCGI_NPROC as --nproc alternative

If GITWEB_FCGI_NPROC is set to a number, attempt the same
FCGI::ProcManager configuration as though it was passed
after the --nproc option.

This facilitates using FastCGI servers thta do not support
passing command line options to the FCGI process but do
allow the initial environment to be set.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl