Skip to content

Commit

Permalink
Fix #7754 - Allow JETTY_SYS_PROPS to be configured by /etc/default/
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Apr 1, 2022
1 parent 0f048ea commit 37b32d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jetty-home/src/main/resources/bin/jetty.sh
Expand Up @@ -414,7 +414,8 @@ TMPDIR="`cygpath -w $TMPDIR`"
;;
esac

JETTY_SYS_PROPS=$(echo -ne "-Djetty.home=$JETTY_HOME" "-Djetty.base=$JETTY_BASE" "-Djava.io.tmpdir=$TMPDIR")
BASE_JETTY_SYS_PROPS=$(echo -ne "-Djetty.home=$JETTY_HOME" "-Djetty.base=$JETTY_BASE" "-Djava.io.tmpdir=$TMPDIR")
JETTY_SYS_PROPS=(${JETTY_SYS_PROPS[*]} $BASE_JETTY_SYS_PROPS)

#####################################################
# This is how the Jetty server will be started
Expand Down

0 comments on commit 37b32d0

Please sign in to comment.