This is an automated email from the ASF dual-hosted git repository. andy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/jena.git
commit a1ca2b7c3d38263766f25a0ce1414292edc55ffe Author: Andy Seaborne <[email protected]> AuthorDate: Mon Jan 20 19:57:19 2025 +0000 Add fuseki-plain script to the Fuseki distribution --- jena-fuseki2/apache-jena-fuseki/fuseki-plain | 21 +++++++++++++++++++++ jena-fuseki2/apache-jena-fuseki/fuseki-server | 6 ++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/jena-fuseki2/apache-jena-fuseki/fuseki-plain b/jena-fuseki2/apache-jena-fuseki/fuseki-plain new file mode 100755 index 0000000000..c90d69fb1e --- /dev/null +++ b/jena-fuseki2/apache-jena-fuseki/fuseki-plain @@ -0,0 +1,21 @@ +#!/bin/sh +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +## Run Fuseki as a standalone server with no UI + +export MAIN=org.apache.jena.fuseki.main.cmds.FusekiMainCmd +exec fuseki-server "$#" diff --git a/jena-fuseki2/apache-jena-fuseki/fuseki-server b/jena-fuseki2/apache-jena-fuseki/fuseki-server index 7c34e578ad..3344a71f79 100755 --- a/jena-fuseki2/apache-jena-fuseki/fuseki-server +++ b/jena-fuseki2/apache-jena-fuseki/fuseki-server @@ -115,8 +115,10 @@ then fi ## Plain server, no UI, no admin work area. -## MAIN=org.apache.jena.fuseki.main.cmds.FusekiMainCmd -MAIN=org.apache.jena.fuseki.main.cmds.FusekiServerCmd +## MAIN="${MAIN:-org.apache.jena.fuseki.main.cmds.FusekiMainCmd}" + +## Fuseki server, with UI and admin area. +MAIN="${MAIN:-org.apache.jena.fuseki.main.cmds.FusekiServerCmd}" if [ -n "$LOGGING" ] then
