This repository has been archived on 2020-02-15. You can view files and clone it, but cannot push or open issues or pull requests.
ldap-forward-auth/entrypoint.sh

10 lines
250 B
Bash
Raw Normal View History

2019-12-28 11:43:56 +01:00
#!/bin/ash
sed -i \
-e "s/@@LDAP_SERVER@@/$LDAP_SERVER/" \
-e "s/@@LDAP_BASE@@/$LDAP_BASE/" \
-e "s/@@LDAP_USER@@/$LDAP_USER/" \
-e "s/@@LDAP_PASSWORD@@/$LDAP_PASSWORD/" \
/usr/local/apache2/conf/httpd.conf
exec httpd-foreground