#
|
# The contents of this file are subject to the terms of the Common Development and
|
# Distribution License (the License). You may not use this file except in compliance with the
|
# License.
|
#
|
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
|
# specific language governing permission and limitations under the License.
|
#
|
# When distributing Covered Software, include this CDDL Header Notice in each file and include
|
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
|
# Header, with the fields enclosed by brackets [] replaced by your own identifying
|
# information: "Portions copyright [year] [name of copyright owner]".
|
#
|
# Copyright 2026 3A Systems, LLC.
|
#
|
# Environment overrides for the OpenDJ service.
|
#
|
# This file is read by the systemd unit (EnvironmentFile=) and parsed by the
|
# SysV init script and the package maintainer scripts (package upgrade and
|
# restart). It is NOT sourced as shell: only the three OPENDJ_* keys below are
|
# recognized, written as KEY=value on a single line (no export, no variable
|
# expansion); optional surrounding quotes are stripped by every consumer.
|
# By default everything is commented out and the server uses the first java
|
# found on the PATH (the package's JRE dependency guarantees one), unless the
|
# administrator sets default.java-home in config/java.properties.
|
#
|
# Uncomment to override the JRE used by the service:
|
# - OPENDJ_JAVA_HOME: a JAVA_HOME directory (its bin/java is used)
|
# - OPENDJ_JAVA_BIN : a direct path to the java binary (takes precedence)
|
# Using the stable /usr alternatives symlink survives Java upgrades:
|
#
|
#OPENDJ_JAVA_HOME=/usr/lib/jvm/default-java
|
#OPENDJ_JAVA_BIN=/usr/bin/java
|
#
|
# JVM args for the server. Note: when set, this REPLACES the java-args
|
# configured in config/java.properties (it does not extend them). Quotes are
|
# optional but keep values with spaces readable:
|
#OPENDJ_JAVA_ARGS="-server -Xmx2g"
|