mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
01a8f60452
Binary builds are now available for LLDAP, which simplifies and makes the build process much quicker. In addition, multi-stage builds are used, which again help with caching.
13 lines
339 B
Bash
Executable File
13 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
# Create configuration file from collected templates.
|
|
envsubst < /etc/lldap/config.toml.template > /etc/lldap/config.toml
|
|
|
|
# Crrect permissions for data files.
|
|
chown -R /var/lib/lldap
|
|
|
|
# Run entrypoint under specific user.
|
|
cd /usr/share/lldap
|
|
exec gosu lldap /usr/bin/lldap run --config-file /etc/lldap/config.toml "$@"
|