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