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