diff options
Diffstat (limited to 'net-nds/openldap/files/slurpd-initd')
-rw-r--r-- | net-nds/openldap/files/slurpd-initd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-nds/openldap/files/slurpd-initd b/net-nds/openldap/files/slurpd-initd new file mode 100644 index 000000000000..bb1b50dbb122 --- /dev/null +++ b/net-nds/openldap/files/slurpd-initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 $? +} |