2015-02-21 18:09:08 +03:00
|
|
|
#!/bin/sh
|
2015-02-24 01:10:39 +03:00
|
|
|
set -e
|
2015-02-21 18:09:08 +03:00
|
|
|
|
2015-02-26 13:29:32 +03:00
|
|
|
echo "starting slapd on port 389 and 636..."
|
2015-02-21 18:09:08 +03:00
|
|
|
chown -R openldap:openldap /etc/ldap
|
2015-02-26 13:29:32 +03:00
|
|
|
exec /usr/sbin/slapd -h "ldap:/// ldapi:/// ldaps:///" \
|
2015-02-22 18:07:20 +03:00
|
|
|
-u openldap \
|
|
|
|
-g openldap \
|
2016-02-04 12:07:30 +03:00
|
|
|
-d ${LDAP_DEBUG_LEVEL}
|