mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-12-20 12:41:17 +00:00
/var/run/slapd also has to be accessible to slapd
Sharing unix sockets via data-only containers is a viable way of communicating between processes; to do this, however, `/var/run/slapd` has to be on a volume from an external container. There is no guarantee that it will have the correct permissions, hence the need to `chown` it in eintrypoint script.
This commit is contained in:
parent
390f2a876c
commit
ff5b30e575
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ ulimit -n 8192
|
|||
|
||||
set -e
|
||||
|
||||
chown -R openldap:openldap /var/lib/ldap/
|
||||
chown -R openldap:openldap /var/lib/ldap/ /var/run/slapd/
|
||||
|
||||
if [[ ! -d /etc/ldap/slapd.d ]]; then
|
||||
|
||||
|
|
Loading…
Reference in a new issue