entrypoint: set permissions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d0d022ef0f
commit
471fcb3d9d
@ -6,6 +6,9 @@ assert(){ [[ $? -eq 0 ]] || { [[ -n ${1} ]] && echo ${@} ; exit 1 ; } }
|
||||
# slapd is absurdly high. See https://github.com/docker/docker/issues/8231
|
||||
ulimit -n 8192
|
||||
|
||||
chown -R openldap:openldap /var/lib/ldap
|
||||
assert "FATAL: could not set required directory permissions"
|
||||
|
||||
slapd -u openldap -g openldap -h ldapi:///
|
||||
assert "FATAL: sldapd died unexpectedly!"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user