From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/openldap/slurpd.initd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 main/openldap/slurpd.initd (limited to 'main/openldap/slurpd.initd') diff --git a/main/openldap/slurpd.initd b/main/openldap/slurpd.initd new file mode 100644 index 000000000..f5aa2ead5 --- /dev/null +++ b/main/openldap/slurpd.initd @@ -0,0 +1,22 @@ +#!/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/slurpd-initd,v 1.1 2007/01/16 23:22:02 jokey Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting slurpd" + start-stop-daemon --start --quiet \ + --exec /usr/lib/openldap/slurpd + eend $? +} + +stop() { + ebegin "Stopping slurpd" + start-stop-daemon --stop --quiet \ + --exec /usr/lib/openldap/slurpd + eend $? +} -- cgit v1.2.3