1 package Catalyst::Script::FastCGI;
3 BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' }
8 use namespace::autoclean;
10 with 'MooseX::Getopt';
13 traits => [qw(Getopt)],
17 documentation => qq{ display this help and exits },
21 traits => [qw(Getopt)],
26 documentation => qq{ specify a different listening port }
30 traits => [qw(Getopt)],
34 documentation => qq{ specify a pidfile }
40 traits => [qw(Getopt)],
42 documentation => qq{ daemonize }
48 traits => [qw(Getopt)],
50 documentation => qq{ use a different FastCGI manager }
54 traits => [qw(Getopt)],
58 documentation => qq{ log STDERR }
62 traits => [qw(Getopt)],
66 documentation => qq{ specify an nproc }
70 traits => [qw(Getopt)],
74 documentation => qq{ detach this FastCGI process }
80 traits => [qw(NoGetopt)],
88 pod2usage() if $self->help;
90 Class::MOP::load_class($app);
94 nproc => $self->nproc,
95 pidfile => $self->pidfile,
96 manager => $self->manager,
97 detach => $self->detach,
98 keep_stderr => $self->keep_stderr,