]> ruin.nu Git - ndwebbie.git/blobdiff - script/ndweb_fastcgi.pl
Convert to catalyst 5.8
[ndwebbie.git] / script / ndweb_fastcgi.pl
index cf0ad8b53e064fd7b42306007f19eda4184e7745..ed91a419b67d0d0c9df4d86a4099e02bd8000704 100755 (executable)
@@ -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<sri@oook.de>
-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