3 BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' }
10 use lib "$FindBin::Bin/../lib";
14 my ( $listen, $nproc, $pidfile, $manager, $detach );
18 'listen|l=s' => \$listen,
19 'nproc|n=i' => \$nproc,
20 'pidfile|p=s' => \$pidfile,
21 'manager|M=s' => \$manager,
22 'daemon|d' => \$detach,
25 pod2usage(1) if $help;
40 componentui_fastcgi.pl - Catalyst FastCGI
44 componentui_fastcgi.pl [options]
47 -? -help display this help and exits
48 -l -listen Socket path to listen on
49 (defaults to standard input)
50 can be HOST:PORT, :PORT or a
52 -n -nproc specify number of processes to keep
53 to serve requests (defaults to 1,
55 -p -pidfile specify filename for pid file
57 -d -daemon daemonize (requires -listen)
58 -M -manager specify alternate process manager
59 (FCGI::ProcManager sub-class)
60 or empty string to disable
64 Run a Catalyst application as fastcgi.
68 Sebastian Riedel, C<sri@oook.de>
69 Maintained by the Catalyst Core Team.
73 This library is free software, you can redistribute it and/or modify
74 it under the same terms as Perl itself.