summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2011-09-16 10:13:25 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2011-09-16 10:13:25 +0000
commit9ebaa3b87d80e45f75a0334a8141c49c95ec5b4d (patch)
tree1ab8584f1bbf1ba781552195c63ca0c98b4d5e9f /etc/rc.d
parentf49eba8b1fdc1cfcb2d4387582dd9a03fe25e817 (diff)
use the correct regexp to find the ldapd server process
from MERIGHI Marcus <mcmer-openbsd@tor.at>
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/ldapd4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/ldapd b/etc/rc.d/ldapd
index 0bf911fe363..c6b9a122d0c 100644
--- a/etc/rc.d/ldapd
+++ b/etc/rc.d/ldapd
@@ -1,9 +1,11 @@
#!/bin/sh
#
-# $OpenBSD: ldapd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: ldapd,v 1.2 2011/09/16 10:13:24 robert Exp $
daemon="/usr/sbin/ldapd"
. /etc/rc.d/rc.subr
+pexp="ldapd: ldap server.*"
+
rc_cmd $1