File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ file_env 'LDAP_READONLY_USER_PASSWORD'
41
41
# Seed ldif from internal path if specified
42
42
file_env ' LDAP_SEED_INTERNAL_LDIF_PATH'
43
43
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/
46
46
fi
47
47
48
48
# Seed schema from internal path if specified
49
49
file_env ' LDAP_SEED_INTERNAL_SCHEMA_PATH'
50
50
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/
53
53
fi
54
54
55
55
# create dir if they not already exists
You can’t perform that action at this time.
0 commit comments