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
3828465c
Commit
3828465c
authored
Sep 25, 2015
by
Michał 'rysiek' Woźniak
Browse files
working now
parent
74fc17d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
entrypoint.sh
entrypoint.sh
+6
-0
No files found.
entrypoint.sh
View file @
3828465c
...
...
@@ -111,8 +111,11 @@ else
chown
-R
openldap:openldap
"
$SLAPD_DBPATH
"
# starting slapd, needed for schemas, modules and init scripts
echo
-n
"+-- running temporary slapd process... "
slapd
-d
32768
-u
openldap
-g
openldap
-h
"ldapi://%2fvar%2frun%2fldap%2fldapi"
>
/dev/null 2>&1 &
SLAPD_PID
=
"
$!
"
sleep
5
echo
"PID:
$SLAPD_PID
"
# schemas
if
[[
-n
"
$SLAPD_ADDITIONAL_SCHEMAS
"
]]
;
then
...
...
@@ -145,8 +148,11 @@ else
# permissions
chown
-R
openldap:openldap
"
$SLAPD_DBPATH
"
# starting slapd, needed for init scripts
echo
-n
"+-- running temporary slapd process... "
slapd
-d
32768
-u
openldap
-g
openldap
-h
"ldapi://%2fvar%2frun%2fldap%2fldapi"
>
/dev/null 2>&1 &
SLAPD_PID
=
"
$!
"
sleep
5
echo
"PID:
$SLAPD_PID
"
fi
# handle initial data
...
...
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