Skip to content

Commit 13d112d

Browse files
committed
Merge branch 'Os-carsun-stable' into release-1.5.0
2 parents 37b95f0 + c1831a4 commit 13d112d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

image/service/slapd/startup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ file_env 'LDAP_READONLY_USER_PASSWORD'
4141
# Seed ldif from internal path if specified
4242
file_env 'LDAP_SEED_INTERNAL_LDIF_PATH'
4343
if [ ! -z "${LDAP_SEED_INTERNAL_LDIF_PATH}" ]; then
44-
mkdir -p /container/service/slapd/assets/config/bootstrap/ldif/custom/
45-
cp -R ${LDAP_SEED_INTERNAL_LDIF_PATH}/*.ldif /container/service/slapd/assets/config/bootstrap/ldif/custom/
44+
mkdir -p ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/ldif/custom/
45+
cp -R ${LDAP_SEED_INTERNAL_LDIF_PATH}/*.ldif ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/ldif/custom/
4646
fi
4747

4848
# Seed schema from internal path if specified
4949
file_env 'LDAP_SEED_INTERNAL_SCHEMA_PATH'
5050
if [ ! -z "${LDAP_SEED_INTERNAL_SCHEMA_PATH}" ]; then
51-
mkdir -p /container/service/slapd/assets/config/bootstrap/schema/custom/
52-
cp -R ${LDAP_SEED_INTERNAL_SCHEMA_PATH}/*.schema /container/service/slapd/assets/config/bootstrap/schema/custom/
51+
mkdir -p ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/schema/custom/
52+
cp -R ${LDAP_SEED_INTERNAL_SCHEMA_PATH}/*.schema ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/schema/custom/
5353
fi
5454

5555
# create dir if they not already exists

0 commit comments

Comments
 (0)