fix restart message to check for
[catagits/Catalyst-Devel.git] / share / script / myapp_fastcgi.pl.tt
CommitLineData
239b5fc0 1[% startperl %]
2
b3f6c062 3use Catalyst::ScriptRunner;
7e6d9ba3 4Catalyst::ScriptRunner->run('[% name %]', 'FastCGI');
239b5fc0 5
61;
7
8=head1 NAME
9
10[% appprefix %]_fastcgi.pl - Catalyst FastCGI
11
12=head1 SYNOPSIS
13
14[% appprefix %]_fastcgi.pl [options]
15
16 Options:
930239b4 17 -? --help display this help and exit
18 -l --listen socket path to listen on
239b5fc0 19 (defaults to standard input)
20 can be HOST:PORT, :PORT or a
21 filesystem path
a363c0aa 22 -n --nproc specify number of processes to keep
239b5fc0 23 to serve requests (defaults to 1,
930239b4 24 requires --listen)
a363c0aa 25 -p --pidfile specify filename for pid file
930239b4 26 (requires --listen)
27 -d --daemon daemonize (requires --listen)
a363c0aa 28 -M --manager specify alternate process manager
239b5fc0 29 (FCGI::ProcManager sub-class)
30 or empty string to disable
a363c0aa 31 -e --keeperr send error messages to STDOUT, not
239b5fc0 32 to the webserver
2136a952 33 --proc_title Set the process title (if possible)
239b5fc0 34
35=head1 DESCRIPTION
36
930239b4 37Run a Catalyst application as FastCGI.
239b5fc0 38
39=head1 AUTHORS
40
41Catalyst Contributors, see Catalyst.pm
42
43=head1 COPYRIGHT
44
45This library is free software. You can redistribute it and/or modify
46it under the same terms as Perl itself.
47
48=cut