File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ source "$script_dir/_common"
1818APP_NAME=" RDF DB Web UI"
1919dataset_name=" okh"
2020port=" 3030"
21+ update_arg_opt=" "
2122
2223function print_help() {
2324
@@ -28,6 +29,8 @@ function print_help() {
2829 echo " Options:"
2930 echo " -h, --help"
3031 echo " Print this usage help and exit"
32+ echo " -u, --update"
33+ echo " Allow updates (via SPARQL Update and SPARQL HTTP Update)"
3134 echo " -p, --port PORT"
3235 echo " Run the web service on a different port (default: $port )"
3336 echo " Examples:"
4851 print_help
4952 exit 0
5053 ;;
54+ -u|--update)
55+ update_arg_opt=" --update"
56+ ;;
5157 -p|--port)
5258 port=" $1 "
5359 shift
@@ -74,7 +80,7 @@ echo "Or query it with SPARQL on: $query_url"
7480echo
7581cd " $db_dir "
7682" $jena_fuseki_server " \
77- --update \
83+ $update_arg_opt \
7884 --tdb2 \
7985 --loc " $db_dir " \
8086 --port " $port " \
You can’t perform that action at this time.
0 commit comments