Commit bd213c1c authored by Christian Luginbühl's avatar Christian Luginbühl
Browse files

Moved 'ulimit' command before 'set -e' to avoid permaent errors with low...

Moved 'ulimit' command before 'set -e' to avoid permaent errors with low global ulimits as requested by Hong Xu (xuhdev)
parent b1650021
#!/bin/bash
set -e
# When not limiting the open file descritors limit, the memory consumption of
# slapd is absurdly high. See https://github.com/docker/docker/issues/8231
ulimit -n 8192
set -e
chown -R openldap:openldap /var/lib/ldap/
if [[ ! -d /etc/ldap/slapd.d ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment