diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-23 12:13:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-23 12:13:16 +0000 |
commit | e7518be1013cb7c0a942cc3ebb0a0faa2acadf19 (patch) | |
tree | 1aefb250d8292d1f7860f8ca7aee8a1343dba3ab /testing/openldap/slurpd.initd | |
parent | e155b71abc27514ff72c03a3a7dff53b212976a0 (diff) | |
download | aports-e7518be1013cb7c0a942cc3ebb0a0faa2acadf19.tar.bz2 aports-e7518be1013cb7c0a942cc3ebb0a0faa2acadf19.tar.xz |
testing/openldap: upgrade to 2.4.16 and fix the init.d script
tested that it works
Diffstat (limited to 'testing/openldap/slurpd.initd')
-rw-r--r-- | testing/openldap/slurpd.initd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/openldap/slurpd.initd b/testing/openldap/slurpd.initd new file mode 100644 index 0000000000..f5aa2ead5a --- /dev/null +++ b/testing/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 $? +} |