File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.0.8
4+ - Fix startup bug
5+
36## 1.0.7
47 - Fix startup bug
58
Original file line number Diff line number Diff line change 11NAME = osixia/openldap
2- VERSION = 1.0.7
2+ VERSION = 1.0.8
33
44.PHONY : all build test tag_latest release
55
Original file line number Diff line number Diff line change 1- #! /bin/bash -e
1+ #! /bin/bash -ex
22
33FIRST_START_DONE=" /etc/docker-openldap-first-start-done"
44WAS_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]"
You can’t perform that action at this time.
0 commit comments