Skip to content

Commit 45cd612

Browse files
authored
Merge pull request #518 from tdrwenski/fix-docs
Fix JVM option path in documentation
2 parents 2bfb62d + 2e9c61b commit 45cd612

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: docs/adminguide/src/site/pages/installation_upgrade/JVMSettings.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export JAVA_HOME="/usr/local/jdk"
4141
# THIS IS CRITICAL and there is NO DEFAULT -
4242
# the TDS will not start without this.
4343
#
44-
CONTENT_ROOT=-Dtds.content.root.path=/data/content
44+
CONTENT_ROOT=/data/content
45+
CONTENT_ROOT_OPT=-Dtds.content.root.path=$CONTENT_ROOT
4546

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

6263
export JAVA_OPTS
6364
~~~

0 commit comments

Comments
 (0)