X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=2c63481c828e3cbd8bf72c3e5eebcbf8d4a672a9;hb=526b698a2abd784cf758a8b52936e33c2a3e4442;hp=183ce2fcbd348a3f4311c14fb283135e2867fbf8;hpb=fcddc3bf434c762e3e213db375edbbda1a77c5b5;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 183ce2f..2c63481 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -701,13 +701,15 @@ use lib "$FindBin::Bin/../lib"; use [% name %]; my $help = 0; -my ( $listen, $nproc, $pidfile ); +my ( $listen, $nproc, $pidfile, $manager, $detach ); GetOptions( 'help|?' => \$help, 'listen|l=s' => \$listen, 'nproc|n=i' => \$nproc, 'pidfile|p=s' => \$pidfile, + 'manager|M=s' => \$manager, + 'daemon|d' => \$detach, ); pod2usage(1) if $help; @@ -716,6 +718,8 @@ pod2usage(1) if $help; $listen, { nproc => $nproc, pidfile => $pidfile, + manager => $manager, + detach => $detach, } ); @@ -740,6 +744,10 @@ pod2usage(1) if $help; requires -listen) -p -pidfile specify filename for pid file (requires -listen) + -d -daemon daemonize (requires -listen) + -M -manager specify alternate process manager + (FCGI::ProcessManager sub-class) + or empty string to disable =head1 DESCRIPTION @@ -1027,7 +1035,7 @@ Catalyst::PAR->new->package( { =head1 NAME -[% appprefix %]_package.pl - Package a Catalyst application +[% appprefix %]_package.pl - Package Catalyst Applications =head1 SYNOPSIS @@ -1054,7 +1062,7 @@ Catalyst::PAR->new->package( { =head1 DESCRIPTION -Package a Catalyst application with L. +Package Catalyst Applications with L. =head1 AUTHOR