# This file documents the revision history for Perl extension Catalyst.
+ Bug fixes:
+ - Remove the erroneous --detach option from Catalyst::Script::FastCGI
+ - --daemon option to Catalyst::Script::FastCGI is fixed.
+
5.80016 2009-12-11 23:23:33
Bug fixes:
documentation => 'Specify a number of child processes',
);
-has detach => (
- traits => [qw(Getopt)],
- cmd_aliases => 'det',
- isa => Bool,
- is => 'ro',
- documentation => 'Detach this FastCGI process',
-);
-
sub _application_args {
my ($self) = shift;
return (
nproc => $self->nproc,
pidfile => $self->pidfile,
manager => $self->manager,
- detach => $self->detach,
+ detach => $self->daemon,
keep_stderr => $self->keeperr,
}
);
testOption( [ qw/-l 127.0.0.1:3000/ ], ['127.0.0.1:3000', opthash()] );
#daemonize -d --daemon
-testOption( [ qw/-d/ ], [undef, opthash()] );
-testOption( [ qw/--daemon/ ], [undef, opthash()] );
+testOption( [ qw/-d/ ], [undef, opthash(detach => 1)] );
+testOption( [ qw/--daemon/ ], [undef, opthash(detach => 1)] );
# pidfile -pidfile -p --pid --pidfile
testOption( [ qw/--pidfile cat.pid/ ], [undef, opthash(pidfile => 'cat.pid')] );
testOption( [ qw/--nproc 6/ ], [undef, opthash(nproc => 6)] );
testOption( [ qw/--n 6/ ], [undef, opthash(nproc => 6)] );
-# detach
-testOption( [ qw/--detach/ ], [undef, opthash(detach => 1)] );
-testOption( [ qw/--det/ ], [undef, opthash(detach => 1)] );
-
done_testing;
sub testOption {