1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-23 01:45:37 +00:00

bring back the possibillity to specify args (#284)

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-11-13 09:44:00 +01:00 committed by GitHub
parent d531ac4b1c
commit df6268e24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,11 @@ if [ "${insecure:-}" = "yes" ]; then
set -- "$@" "--insecure"
fi
# Support additional args provided via environment.
if [ -n "${ARGS:-}" ]; then
set -- "$@" "${ARGS}"
fi
# read password from file (UCS requirement)
if [ -n "${LDAP_BINDPW_FILE:-}" ]; then
bindpw="$(cat "${LDAP_BINDPW_FILE}")"