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-reset3

    r35162 r36764  
    88graph_name=$1
    99
     10port=${FUSEKI3_PORT:-4040}
     11
     12
    1013if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then
    1114    graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name"
    1215else
    1316    graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
    14     # graph_uri="http://localhost:4040/greenstone/data/$graph_name"
     17    # graph_uri="http://localhost:$port/greenstone/data/$graph_name"
    1518    # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name"
    1619fi
     
    2225export PATH=/usr/bin:$PATH
    2326
    24 s-update --service http://localhost:4040/greenstone/update "DROP GRAPH <$graph_uri>"
     27s-update --service http://localhost:$port/greenstone/update "DROP GRAPH <$graph_uri>"
    2528
Note: See TracChangeset for help on using the changeset viewer.