mariadb-with-ldap-pam/docker-entrypoint.sh-head

10 lines
229 B
Plaintext
Raw Normal View History

2019-09-02 09:46:57 +00:00
#!/bin/bash
echo "new docker-entrypoint.sh head"
pushd /etc
cat ldap.conf-tmpl | sed -e "s/%LDAPBASE%/$LDAPBASE/" -e "s,%LDAPURI%,$LDAPURI," -e "s/%LDAPBINDDN%/$LDAPBINDDN/" -e "s/%LDAPBINDPW%/$LDAPBINDPW/" > ldap.conf
popd