From e2d0672789ad98b6178cd6e33eb3f5e68c95798b Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 8 Oct 2002 09:23:03 +0000 Subject: [PATCH] URI_SET_QUEUE_PORT environment variable added --- helm/graphs/tools/uri_set_queue.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2