test-openldap/run.sh
Rafael Römhild 2b0cd76506 Update to debian jessie
* Move most envvars into scripts
* Generate snake oil certificate on container build
2016-02-04 10:07:30 +01:00

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}