pkgsrc/databases/openldap/files/slapd.sh
ghen ef5da36069 Split the databases/openldap package in -client and -server component packages
(and add a -doc component), which I'll import in a minute.  This package is now
nothing but a meta-package, depending on those three.  Take over MAINTAINERship
(ok with joerg).  Add an inet6 option to -client and -server (PR pkg/33524).
Bump PKGREVISION.
2006-05-31 18:17:49 +00:00

19 lines
354 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: slapd.sh,v 1.8 2006/05/31 18:17:49 ghen 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"
command_args="-u @SLAPD_USER@"
load_rc_config $name
run_rc_command "$1"