blob: 6fe68ca4cea6a34dc64e07429b82a6f0d0261e27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd.rc6,v 1.6 2003/02/14 23:08:36 vapier Exp $
depend() {
need net
}
start() {
ebegin "Starting ldap-server"
start-stop-daemon --start --quiet --pidfile /var/state/openldap/slapd.pid --exec /usr/lib/openldap/slapd
eend $?
}
stop() {
ebegin "Stopping ldap-server"
start-stop-daemon --stop --quiet --pidfile /var/state/openldap/slapd.pid --exec /usr/lib/openldap/slapd
eend $?
}
|