1 package Catalyst::Script::FastCGI;
3 BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' }
5 use MooseX::Types::Moose qw/Str Bool Int/;
6 use namespace::autoclean;
8 with 'Catalyst::ScriptRole';
14 documentation => 'Specify a listening port/socket',
21 documentation => 'Specify a pidfile',
28 documentation => 'Daemonize',
35 documentation => 'Use a different FastCGI manager', # FIXME
42 documentation => 'Log STDERR',
49 documentation => 'Specify an nproc', # FIXME
56 documentation => 'Detach this FastCGI process',
59 sub _application_args {
64 nproc => $self->nproc,
65 pidfile => $self->pidfile,
66 manager => $self->manager,
67 detach => $self->detach,
68 keep_stderr => $self->keep_stderr,
73 __PACKAGE__->meta->make_immutable;
77 Catalyst::Script::FastCGI - The FastCGI Catalyst Script
89 Catalyst Contributors, see Catalyst.pm
93 This library is free software. You can redistribute it and/or modify it under
94 the same terms as Perl itself.