This repository has been archived on 2019-04-13. You can view files and clone it, but cannot push or open issues or pull requests.
httpd-ldap/entrypoint.sh
Simon Bruder 3b272fa031
All checks were successful
continuous-integration/drone/push Build is passing
init
2019-04-12 12:29:25 +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