fixed server start
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / Server.pm
CommitLineData
0ba6e8aa 1package Catalyst::Script::Server;
2
5b923b0b 3=head1 NAME
4
5testapp_server.pl - Catalyst Testserver
6
7=head1 SYNOPSIS
8
9testapp_server.pl [options]
10
11 Options:
12 -d -debug force debug mode
13 -f -fork handle each request in a new process
14 (defaults to false)
15 -? -help display this help and exits
16 -host host (defaults to all)
17 -p -port port (defaults to 3000)
18 -k -keepalive enable keep-alive connections
19 -r -restart restart when files get modified
20 (defaults to false)
21 -rd -restartdelay delay between file checks
22 (ignored if you have Linux::Inotify2 installed)
23 -rr -restartregex regex match files that trigger
24 a restart when modified
25 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
26 -restartdirectory the directory to search for
27 modified files, can be set mulitple times
28 (defaults to '[SCRIPT_DIR]/..')
29 -follow_symlinks follow symlinks in search directories
30 (defaults to false. this is a no-op on Win32)
31 -background run the process in the background
32 -pidfile specify filename for pid file
33
34 See also:
35 perldoc Catalyst::Manual
36 perldoc Catalyst::Manual::Intro
37
38=head1 DESCRIPTION
39
40Run a Catalyst Testserver for this application.
41
42=head1 AUTHORS
43
44Catalyst Contributors, see Catalyst.pm
45
46=head1 COPYRIGHT
47
48This library is free software. You can redistribute it and/or modify
49it under the same terms as Perl itself.
50
51=cut
52
0ba6e8aa 531;