Skip to content

Commit 9409707

Browse files
committed
v1.0.8
1 parent 1ee827e commit 9409707

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.0.8
4+
- Fix startup bug
5+
36
## 1.0.7
47
- Fix startup bug
58

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = osixia/openldap
2-
VERSION = 1.0.7
2+
VERSION = 1.0.8
33

44
.PHONY: all build test tag_latest release
55

image/service/slapd/container-start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22

33
FIRST_START_DONE="/etc/docker-openldap-first-start-done"
44
WAS_STARTED_WITH_TLS="/etc/ldap/slapd.d/docker-openldap-was-started-with-tls"
@@ -111,10 +111,10 @@ EOF
111111
. $WAS_STARTED_WITH_REPLICATION
112112
echo "127.0.0.2 $PREVIOUS_HOSTNAME" >> /etc/hosts
113113

114-
slapd -h "ldap://$HOSTNAME ldap://$PREVIOUS_HOSTNAME ldap://localhost ldapi:///" -u openldap -g openldap
114+
slapd -h "ldap://$HOSTNAME ldap://$PREVIOUS_HOSTNAME ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
115115
else
116116
#start openldap normaly
117-
slapd -h "ldap://$HOSTNAME ldap://localhost ldapi:///" -u openldap -g openldap
117+
slapd -h "ldap://$HOSTNAME ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
118118
fi
119119

120120
echo "[ok]"

0 commit comments

Comments
 (0)