From b8cc8a29eda028a61b7a0862279b27c6616c791a Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 11 Aug 2009 22:11:44 +0200 Subject: Ajout de openldap#2.4.13-1 --- extra/openldap/slapd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extra/openldap/slapd (limited to 'extra/openldap/slapd') diff --git a/extra/openldap/slapd b/extra/openldap/slapd new file mode 100644 index 000000000..6a5e7d205 --- /dev/null +++ b/extra/openldap/slapd @@ -0,0 +1,29 @@ +#!/bin/sh +# +# /etc/rc.d/slapd: start/stop Stand-alone LDAP Daemon +# + +SLAPD_PID=/var/openldap/run/slapd.pid + +case in +start) +/usr/sbin/slapd +;; +stop) +if [ -f ]; then +kill -INT +else +killall -q /usr/sbin/slapd +fi +;; +restart) +-su stop +sleep 2 +-su start +;; +*) +echo "usage: -su [start|stop|restart]" +;; +esac + +# End of file -- cgit v1.2.3-70-g09d2