Add a comment to slapd.rc showing how to bind to multiple URLs as it's not

obvious how to do this without breaking pexp, as done in databases/openldap,
aja@ reminded me to do openldap23 as well.
This commit is contained in:
sthen 2012-05-05 14:42:39 +00:00
parent 102ce619a1
commit c0943d4eca
2 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2012/04/28 10:52:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2012/05/05 14:42:39 sthen Exp $
COMMENT= Open source LDAP software (server)
DISTNAME= openldap-2.3.43
PKGNAME= ${DISTNAME:S/-/-server-/}
REVISION= 9
REVISION= 10
CATEGORIES= databases net

View File

@ -1,10 +1,14 @@
#!/bin/sh
#
# $OpenBSD: slapd.rc,v 1.3 2011/01/13 15:44:10 pea Exp $
# $OpenBSD: slapd.rc,v 1.4 2012/05/05 14:42:39 sthen Exp $
daemon="${TRUEPREFIX}/libexec/slapd"
daemon_flags="-u _openldap"
# To bind to multiple URLs, pass this to rc.d(8) via /etc/rc.conf.local:
# slapd_flags="-u _openldap -h ldap:///\ ldaps:///"
# Note the escaped space between URLs. ^^
. /etc/rc.d/rc.subr
rc_reload=NO