summaryrefslogtreecommitdiffstats
path: root/extra/openldap/slapd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openldap/slapd.initd')
-rw-r--r--extra/openldap/slapd.initd20
1 files changed, 0 insertions, 20 deletions
diff --git a/extra/openldap/slapd.initd b/extra/openldap/slapd.initd
deleted file mode 100644
index 1637d3335..000000000
--- a/extra/openldap/slapd.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd,v 1.2 2008/10/14 10:29:44 robbat2 Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting ldap-server"
- eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --exec /usr/sbin/slapd -- -u ldap -g ldap "${OPTS}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping ldap-server"
- start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/openldap/slapd.pid
- eend $?
-}