- #!/bin/bash -e
- # Reduce maximum number of number of open file descriptors to 1024
- # otherwise slapd consumes two orders of magnitude more of RAM
- # see https://github.com/docker/docker/issues/8231
- ulimit -n 1024
- exec /usr/sbin/slapd -h "ldap://$HOSTNAME ldaps://$HOSTNAME ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
|