We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced8be1 commit 123cc32Copy full SHA for 123cc32
deploy/entrypoint.sh
@@ -145,6 +145,19 @@ if ! [ -z "${VMOPTIONS+x}" ]; then
145
done
146
fi
147
148
+# merge additional vmoptions form a `|`-delimited string into /opt/engine/oieserver.vmoptions
149
+if ! [ -z "${ADDITIONAL_VMOPTIONS+x}" ]; then
150
+ PREV_IFS="$IFS"
151
+ IFS="|"
152
+ read -ra pipe_vmoptions <<< "$ADDITIONAL_VMOPTIONS"
153
+ IFS="$PREV_IFS"
154
+
155
+ for vmoption in "${pipe_vmoptions[@]}"
156
+ do
157
+ echo "${vmoption}" >> "$APP_DIR/oieserver.vmoptions"
158
+ done
159
+fi
160
161
# merge the user's secret mirth.properties
162
# takes a whole mirth.properties file and merges line by line with /opt/engine/conf/mirth.properties
163
if [ -f /run/secrets/mirth_properties ]; then
0 commit comments