summaryrefslogtreecommitdiff
path: root/databases/openldap/files/slapd.sh
blob: e30ec9a4473ef377d9acefcb18b226607d0b8ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: slapd.sh,v 1.7 2005/10/26 15:08:13 jlam Exp $
#
# OpenLDAP standalone LDAP daemon
#
# PROVIDE: slapd
# REQUIRE: DAEMON

. /etc/rc.subr

name="slapd"
rcvar=${name}
command="@PREFIX@/libexec/${name}"
required_files="@OPENLDAP_ETCDIR@/${name}.conf"

load_rc_config $name
run_rc_command "$1"