897eaf2c75
add a pkg/MESSAGE-server teaching the user how to launch slapd in rc.local as _openldap user. english 'looks fine' jmc@, and ok ajacoutot@ mbalmer@ (maintainer)
14 lines
405 B
Plaintext
14 lines
405 B
Plaintext
To start slapd, configure it in ${SYSCONFDIR}/openldap/slapd.conf then add
|
|
the following line to /etc/rc.conf.local:
|
|
|
|
slapd_flags="-u _openldap"
|
|
|
|
and to /etc/rc.local (be sure to start it _before_ any daemon that may
|
|
need it):
|
|
|
|
if [ "$slapd_flags" != "NO" -a -x ${PREFIX}/libexec/slapd ]; then
|
|
install -d -o _openldap /var/run/openldap
|
|
${PREFIX}/libexec/slapd $slapd_flags
|
|
echo -n ' slapd'
|
|
fi
|