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
Simon Bruder 1e22db4245
All checks were successful
continuous-integration/drone/push Build is passing
init
2019-12-28 10:58:06 +00:00

10 lines
250 B
Bash
Executable file

#!/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