Skip to content

Commit b78d870

Browse files
committed
Update startup.sh
1 parent 8b38537 commit b78d870

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

image/service/slapd/startup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,10 @@ EOF
123123

124124
# start OpenLDAP
125125
log-helper info "Start OpenLDAP..."
126-
slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
126+
slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL &
127127

128+
log-helper info "Waiting for OpenLDAP to start..."
129+
sleep 5
128130

129131
#
130132
# setup bootstrap config - Part 2

0 commit comments

Comments
 (0)