Skip to content

Commit

Permalink
Merge pull request #518 from tdrwenski/fix-docs
Browse files Browse the repository at this point in the history
Fix JVM option path in documentation
  • Loading branch information
oxelson authored Jul 26, 2024
2 parents 2bfb62d + 2e9c61b commit 45cd612
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export JAVA_HOME="/usr/local/jdk"
# THIS IS CRITICAL and there is NO DEFAULT -
# the TDS will not start without this.
#
CONTENT_ROOT=-Dtds.content.root.path=/data/content
CONTENT_ROOT=/data/content
CONTENT_ROOT_OPT=-Dtds.content.root.path=$CONTENT_ROOT

# Set java prefs related variables (used by the wms service)
JAVA_PREFS_ROOTS="-Djava.util.prefs.systemRoot=$CONTENT_ROOT/thredds/javaUtilPrefs \
Expand All @@ -57,7 +58,7 @@ HEADLESS="-Djava.awt.headless=true"
#
# Standard setup.
#
JAVA_OPTS="$CONTENT_ROOT $NORMAL $HEAP_DUMP $HEADLESS $JAVA_PREFS_ROOTS"
JAVA_OPTS="$CONTENT_ROOT_OPT $NORMAL $HEAP_DUMP $HEADLESS $JAVA_PREFS_ROOTS"

export JAVA_OPTS
~~~
Expand Down

0 comments on commit 45cd612

Please sign in to comment.