X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=script%2Fndweb_fastcgi.pl;h=ed91a419b67d0d0c9df4d86a4099e02bd8000704;hb=b49322dc8ac6ddc3d988caa5cd92b397fb8d0c31;hp=cf0ad8b53e064fd7b42306007f19eda4184e7745;hpb=0353e4eab6080bee665b74b3d08ccc701670977f;p=ndwebbie.git diff --git a/script/ndweb_fastcgi.pl b/script/ndweb_fastcgi.pl index cf0ad8b..ed91a41 100755 --- a/script/ndweb_fastcgi.pl +++ b/script/ndweb_fastcgi.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' } @@ -12,7 +12,7 @@ use NDWeb; my $help = 0; my ( $listen, $nproc, $pidfile, $manager, $detach, $keep_stderr ); - + GetOptions( 'help|?' => \$help, 'listen|l=s' => \$listen, @@ -25,13 +25,13 @@ GetOptions( pod2usage(1) if $help; -NDWeb->run( - $listen, +NDWeb->run( + $listen, { nproc => $nproc, - pidfile => $pidfile, + pidfile => $pidfile, manager => $manager, detach => $detach, - keep_stderr => $keep_stderr, + keep_stderr => $keep_stderr, } ); @@ -44,7 +44,7 @@ ndweb_fastcgi.pl - Catalyst FastCGI =head1 SYNOPSIS ndweb_fastcgi.pl [options] - + Options: -? -help display this help and exits -l -listen Socket path to listen on @@ -67,14 +67,13 @@ ndweb_fastcgi.pl [options] Run a Catalyst application as fastcgi. -=head1 AUTHOR +=head1 AUTHORS -Sebastian Riedel, C -Maintained by the Catalyst Core Team. +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT -This library is free software, you can redistribute it and/or modify +This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. =cut