script/gitalist_fastcgi.pl untested

filter: Statementstmt 0.0% 0 / 10 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 2 SCAR 13.9
CC
2
Cov
0%
BEGIN
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
1 #!/usr/local/bin/perl
2 use FindBin;
3 BEGIN {
4 my $env = "$FindBin::Bin/env";
5 if (-r $env) {
6 do $env or die $@;
7 }
8 }
9  
10 use Catalyst::ScriptRunner;
11 Catalyst::ScriptRunner->run('Gitalist','FastCGI');
12  
13 1;
14  
15 =head1 NAME
16  
17 gitalist_fastcgi.pl - Catalyst FastCGI
18  
19 =head1 SYNOPSIS
20  
21 gitalist_fastcgi.pl [options]
22  
23 Options:
24 -? -help display this help and exits
25 -l -listen Socket path to listen on
26 (defaults to standard input)
27 can be HOST:PORT, :PORT or a
28 filesystem path
29 -n -nproc specify number of processes to keep
30 to serve requests (defaults to 1,
31 requires -listen)
32 -p -pidfile specify filename for pid file
33 (requires -listen)
34 -d -daemon daemonize (requires -listen)
35 -M -manager specify alternate process manager
36 (FCGI::ProcManager sub-class)
37 or empty string to disable
38 -e -keeperr send error messages to STDOUT, not
39 to the webserver
40  
41 =head1 DESCRIPTION
42  
43 Run a Catalyst application as fastcgi.
44  
45 =head1 AUTHORS
46  
47 Catalyst Contributors, see Catalyst.pm
48  
49 =head1 COPYRIGHT
50  
51 This library is free software. You can redistribute it and/or modify
52 it under the same terms as Perl itself.
53  
54 =cut