3 use Catalyst::ScriptRunner;
4 Catalyst::ScriptRunner->run('[% name %]', 'Server');
10 [% appprefix %]_server.pl - Catalyst Testserver
14 [% appprefix %]_server.pl [options]
17 -d -debug force debug mode
18 -f -fork handle each request in a new process
20 -? -help display this help and exits
21 -host host (defaults to all)
22 -p -port port (defaults to 3000)
23 -k -keepalive enable keep-alive connections
24 -r -restart restart when files get modified
26 -rd -restartdelay delay between file checks
27 (ignored if you have Linux::Inotify2 installed)
28 -rr -restartregex regex match files that trigger
29 a restart when modified
30 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
31 -restartdirectory the directory to search for
32 modified files, can be set mulitple times
33 (defaults to '[SCRIPT_DIR]/..')
34 -follow_symlinks follow symlinks in search directories
35 (defaults to false. this is a no-op on Win32)
36 -background run the process in the background
37 -pidfile specify filename for pid file
40 perldoc Catalyst::Manual
41 perldoc Catalyst::Manual::Intro
45 Run a Catalyst Testserver for this application.
49 Catalyst Contributors, see Catalyst.pm
53 This library is free software. You can redistribute it and/or modify
54 it under the same terms as Perl itself.