mirror of
https://github.com/osixia/container-openldap.git
synced 2026-11-06 12:40:36 -04:00
12 lines
290 B
Bash
Executable File
12 lines
290 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# if container log level is trace:
|
|
# print commands and their arguments as they are executed
|
|
container log level eq trace && set -x
|
|
|
|
ulimit -n "${OPENLDAP_NOFILE}"
|
|
|
|
exec slapd -h "${OPENLDAP_URLS}" -F "${OPENLDAP_CONF_DIR}" -d "${OPENLDAP_DEBUG_LEVEL}" "$@"
|