diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2022-05-06 14:25:30 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2022-05-06 14:25:30 +0200 |
commit | 6e29b1f4cb837354dbae3941643f99d516a7264d (patch) | |
tree | e7c1a2bd5d9c1d4f8a34db4b549618397aa56d9d /standalone-container/src/main | |
parent | 25e3c3a9ac64309593433e87ade9d608c4c2c2e4 (diff) |
Document checkjava
Diffstat (limited to 'standalone-container/src/main')
-rwxr-xr-x | standalone-container/src/main/sh/standalone-container.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/standalone-container/src/main/sh/standalone-container.sh b/standalone-container/src/main/sh/standalone-container.sh index 0b88568bc5b..78a99fe0b45 100755 --- a/standalone-container/src/main/sh/standalone-container.sh +++ b/standalone-container/src/main/sh/standalone-container.sh @@ -137,6 +137,10 @@ StartCommand() { cd "$VESPA_HOME" || Fail "Cannot cd to $VESPA_HOME" fixlimits + + # If JAVA_HOME is set in the environment, the sourcing of common-env.sh + # elsewhere in this file ensures $JAVA_HOME/bin is first in PATH, so 'java' + # may be invoked w/o path. In any case, checkjava verifies bare 'java'. checkjava FixDataDirectory "$(dirname "$pidfile")" |