Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
docker-openldap
Commits
a6a2fbc3
Commit
a6a2fbc3
authored
Oct 03, 2015
by
Michał 'rysiek' Woźniak
Browse files
bugfix for /var/run/slapd
parent
3828465c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
entrypoint.sh
entrypoint.sh
+5
-3
No files found.
entrypoint.sh
View file @
a6a2fbc3
...
...
@@ -7,9 +7,11 @@ ulimit -n 8192
set
-e
# make sure that the run directory exists and has proper permissions
mkdir
-p
/var/run/ldap/
chown
-R
openldap:openldap /var/run/ldap/
# make sure that the run directories exists and has proper permissions
# - /var/run/ldap -> ldapi:// UNIX socket
# - /var/run/slapd -> pidfile directory
mkdir
-p
/var/run/ldap/ /var/run/slapd
chown
-R
openldap:openldap /var/run/ldap/ /var/run/slapd
#
# if we have config *and* database initialized, skip init
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment