mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
lldap: Correct chown command in entrypoint
This commit is contained in:
parent
6eeca85f90
commit
abb92a486f
@ -4,8 +4,8 @@ set -eu
|
|||||||
# Create configuration file from collected templates.
|
# Create configuration file from collected templates.
|
||||||
envsubst < /etc/lldap/config.toml.template > /etc/lldap/config.toml
|
envsubst < /etc/lldap/config.toml.template > /etc/lldap/config.toml
|
||||||
|
|
||||||
# Crrect permissions for data files.
|
# Correct permissions for data files.
|
||||||
chown -R /var/lib/lldap
|
chown -R lldap:lldap /var/lib/lldap
|
||||||
|
|
||||||
# Run entrypoint under specific user.
|
# Run entrypoint under specific user.
|
||||||
cd /usr/share/lldap
|
cd /usr/share/lldap
|
||||||
|
Loading…
Reference in New Issue
Block a user