#!/bin/sh
#
# $OpenBSD: slapd.rc,v 1.3 2011/01/13 15:41:40 pea Exp $

daemon="${TRUEPREFIX}/libexec/slapd"
daemon_flags="-u _openldap"

. /etc/rc.d/rc.subr

rc_reload=NO

rc_pre() {
	/usr/bin/install -d -o _openldap /var/run/openldap
}

rc_cmd $1
