f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
14 lines
492 B
Diff
14 lines
492 B
Diff
diff --git a/bin/nexus b/bin/nexus
|
|
index e7ed3fb..8db766b 100755
|
|
--- a/bin/nexus
|
|
+++ b/bin/nexus
|
|
@@ -440,7 +440,8 @@ add_class_path "$app_home/lib/boot/org.apache.karaf.diagnostic.boot-4.0.9.jar"
|
|
add_class_path "$app_home/lib/boot/org.apache.karaf.jaas.boot-4.0.9.jar"
|
|
|
|
vmoptions_val=""
|
|
-read_vmoptions "$prg_dir/$progname.vmoptions"
|
|
+VM_OPTS=${VM_OPTS_FILE:-"$prg_dir/$progname.vmoptions"}
|
|
+read_vmoptions "$VM_OPTS"
|
|
INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS $vmoptions_val"
|
|
|
|
|