openbsd-ports/databases/openldap/pkg/slapd.rc
rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

21 lines
416 B
Bash

#!/bin/ksh
#
# $OpenBSD: slapd.rc,v 1.5 2018/01/11 19:27:01 rpe 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
rc_pre() {
/usr/bin/install -d -o _openldap /var/run/openldap
}
rc_cmd $1