X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FFastCGI.pm;h=ba6ab9bfda85e5cf9fc28b2f7663ba04a59e1085;hp=fcc431aa37928768686fec813d9b597cdb90d6a1;hb=aee7cdcc0b2b3b7dc672b4b4a31b8c3b7ef3f1f7;hpb=942572d7cd0a89d54b12ddd89de16ddcd19ca077 diff --git a/lib/Catalyst/Script/FastCGI.pm b/lib/Catalyst/Script/FastCGI.pm index fcc431a..ba6ab9b 100644 --- a/lib/Catalyst/Script/FastCGI.pm +++ b/lib/Catalyst/Script/FastCGI.pm @@ -105,11 +105,12 @@ sub _plack_loader_args { return %args; } -sub _application_args { - my ($self) = shift; +around _application_args => sub { + my ($orig, $self) = @_; return ( $self->listen, { + %{ $self->$orig }, nproc => $self->nproc, pidfile => $self->pidfile, manager => $self->manager, @@ -118,7 +119,7 @@ sub _application_args { proc_title => $self->proc_title, } ); -} +}; __PACKAGE__->meta->make_immutable; 1;