Ignore:
Timestamp:
2022-10-09T20:55:48+13:00 (19 months ago)
Author:
davidb
Message:

FUSEKI3_PORT introduced as an environment variable that can be used to control the port the server runs on (defaults to 4040)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-file-query3

    r35080 r36764  
    1212sparql_query=`cat "$input_sparql_query_file"`
    1313
     14port=${FUSEKI3_PORT:-4040}
     15
    1416
    1517# The following line helps with runing a she-bang line of:
     
    1921export PATH=/usr/bin:$PATH
    2022
    21 s-query --service http://localhost:4040/greenstone/query \
     23s-query --service http://localhost:$port/greenstone/query \
    2224    "$sparql_query" > "$output_json_queryresult_file"
Note: See TracChangeset for help on using the changeset viewer.