4 $ENV{CATALYST_SCRIPT_GEN} = 40;
6 use FindBin qw/ $Bin /;
9 use Catalyst::ScriptRunner;
10 Catalyst::ScriptRunner->run('ESITest', 'Server');
16 esitest_server.pl - Catalyst Test Server
20 esitest_server.pl [options]
22 -d --debug force debug mode
23 -f --fork handle each request in a new process
25 -? --help display this help and exits
26 -h --host host (defaults to all)
27 -p --port port (defaults to 3000)
28 -k --keepalive enable keep-alive connections
29 -r --restart restart when files get modified
31 -rd --restart_delay delay between file checks
32 (ignored if you have Linux::Inotify2 installed)
33 -rr --restart_regex regex match files that trigger
34 a restart when modified
35 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
36 --restart_directory the directory to search for
37 modified files, can be set multiple times
38 (defaults to '[SCRIPT_DIR]/..')
39 --follow_symlinks follow symlinks in search directories
40 (defaults to false. this is a no-op on Win32)
41 --background run the process in the background
42 --pidfile specify filename for pid file
45 perldoc Catalyst::Manual
46 perldoc Catalyst::Manual::Intro
50 Run a Catalyst Testserver for this application.
54 Catalyst Contributors, see Catalyst.pm
58 This library is free software. You can redistribute it and/or modify
59 it under the same terms as Perl itself.