Show
Ignore:
Timestamp:
05/08/10 14:01:49 (3 years ago)
Author:
kazuho
Message:

--port now omittable, to support daemons not binding to any TCP ports

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Server-Starter/trunk/start_server

    r35270 r37424  
    1515                           listen to port 80 and start my_server 
    1616 
     17  start_server -- plackup -s FCGI --listen=/tmp/fcgi.sock ... 
     18                           start Plack using FCGI backend binding to a unix 
     19                           socket 
     20 
    1721Options: 
    18   --port=(port|host:port)  TCP port to listen to (should be specified more 
    19                            than once) 
     22  --port=(port|host:port)  TCP port to listen to (if omitted, will not bind 
     23                           to any ports) 
    2024  --interval=seconds       minimum interval to respawn the server process 
    2125                           (default: 1) 
     
    4145 
    4246# validate options 
    43 die "mandatory option --port=port is missing\n" 
    44     unless @opt_port; 
    4547die "server program not specified\n" 
    4648    unless @ARGV;