summaryrefslogtreecommitdiffstats
path: root/extra/openldap/slapd
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:11:44 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:11:44 +0200
commitb8cc8a29eda028a61b7a0862279b27c6616c791a (patch)
tree18b80d3f41cc7b3e06de03b08d8b61468f086858 /extra/openldap/slapd
parentf4e82a14ba4495a95617b6e1c82ec479493e097d (diff)
downloadnutyx-extra-b8cc8a29eda028a61b7a0862279b27c6616c791a.tar.gz
nutyx-extra-b8cc8a29eda028a61b7a0862279b27c6616c791a.tar.bz2
nutyx-extra-b8cc8a29eda028a61b7a0862279b27c6616c791a.tar.xz
nutyx-extra-b8cc8a29eda028a61b7a0862279b27c6616c791a.zip
Ajout de openldap#2.4.13-1
Diffstat (limited to 'extra/openldap/slapd')
-rw-r--r--extra/openldap/slapd29
1 files changed, 29 insertions, 0 deletions
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