diff options
author | dakkar <dakkar@luxion> | 2006-01-23 14:35:57 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2006-01-23 14:35:57 +0000 |
commit | 4910d7f3f95421a5a2bd147a9cf38929967474a7 (patch) | |
tree | c3b09e62ae2ed4fa0142cd58fc942bf73f25c9d9 /script/bookmarks_fastcgi.pl | |
parent | ora la configurazione รจ migliore per il mio setup (diff) | |
download | Bookmarks-4910d7f3f95421a5a2bd147a9cf38929967474a7.tar.gz Bookmarks-4910d7f3f95421a5a2bd147a9cf38929967474a7.tar.bz2 Bookmarks-4910d7f3f95421a5a2bd147a9cf38929967474a7.zip |
nuovi script per Catalyst 5.63
Diffstat (limited to 'script/bookmarks_fastcgi.pl')
-rwxr-xr-x | script/bookmarks_fastcgi.pl | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/script/bookmarks_fastcgi.pl b/script/bookmarks_fastcgi.pl index 546d552..77748fd 100755 --- a/script/bookmarks_fastcgi.pl +++ b/script/bookmarks_fastcgi.pl @@ -10,17 +10,27 @@ use lib "$FindBin::Bin/../lib"; use Bookmarks; my $help = 0; -my ( $listen, $nproc ); +my ( $listen, $nproc, $pidfile, $manager, $detach ); GetOptions( - 'help|?' => \$help, - 'listen|l=s' => \$listen, - 'nproc|n=i' => \$nproc, + '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; -Bookmarks->run( $listen, { nproc => $nproc } ); +Bookmarks->run( + $listen, + { nproc => $nproc, + pidfile => $pidfile, + manager => $manager, + detach => $detach, + } +); 1; @@ -39,7 +49,14 @@ bookmarks_fastcgi.pl [options] can be HOST:PORT, :PORT or a filesystem path -n -nproc specify number of processes to keep - to serve requests (defaults to 1) + to serve requests (defaults to 1, + requires -listen) + -p -pidfile specify filename for pid file + (requires -listen) + -d -daemon daemonize (requires -listen) + -M -manager specify alternate process manager + (FCGI::ProcManager sub-class) + or empty string to disable =head1 DESCRIPTION |