X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fgraphs%2Ftools%2Furi_set_queue.cgi;h=6a5d16ad51949042a9faaa82984004b0400549ef;hb=89262281b6e83bd2321150f81f1a0583645eb0c8;hp=d84cdfde33f5b42b75148d325d53de9d354e7a3c;hpb=5efc24038e24e64e39ec33d4c8f09e1fc6948366;p=helm.git diff --git a/helm/graphs/tools/uri_set_queue.cgi b/helm/graphs/tools/uri_set_queue.cgi index d84cdfde3..6a5d16ad5 100755 --- a/helm/graphs/tools/uri_set_queue.cgi +++ b/helm/graphs/tools/uri_set_queue.cgi @@ -5,7 +5,10 @@ use HTTP::Status; use HTTP::Response; use CGI; -my $d = new HTTP::Daemon LocalPort => 8084; +$urisetqueueport = $ENV{'URI_SET_QUEUE_PORT'} || $urisetqueueport; + +my $d = new HTTP::Daemon LocalPort => $urisetqueueport + or die "Error: port $urisetqueueport not available."; print "Please contact me at: url, ">\n"; $SIG{CHLD} = "IGNORE"; # do not accumulate defunct processes