2b0cd76506
* Move most envvars into scripts * Generate snake oil certificate on container build
10 lines
214 B
Bash
10 lines
214 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "starting slapd on port 389 and 636..."
|
|
chown -R openldap:openldap /etc/ldap
|
|
exec /usr/sbin/slapd -h "ldap:/// ldapi:/// ldaps:///" \
|
|
-u openldap \
|
|
-g openldap \
|
|
-d ${LDAP_DEBUG_LEVEL}
|