5 my $verbose=0; # set to 1 for debugging
8 my $port = 8999; # just a default
10 my $pid=".http.pid"; # name of the pidfile
13 if($ARGV[0] eq "-v") {
16 elsif($ARGV[0] eq "-d") {
20 elsif($ARGV[0] eq "-p") {
24 elsif($ARGV[0] eq "--fork") {
28 elsif($ARGV[0] =~ /^(\d+)$/) {
31 elsif($ARGV[0] =~ /^ipv6/i) {
36 exec("server/sws --pidfile $pid$fork $ipv6$port $dir");