summaryrefslogtreecommitdiff
path: root/net/openldap22-server/files/slapd.sh
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-23 00:21:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-23 00:21:04 +0000
commit1f4703f53f61f542c1e3099c73f3bb9a29e39027 (patch)
tree6dfc45bad23f3da85d7349bc7ed3c0e6a06ff69f /net/openldap22-server/files/slapd.sh
parentMake buildable on -current and unmark BROKEN. (diff)
[PATCH] update of port net/openldap21 to 2.1.20
OpenLDAP 2.1.20 is available. PR: ports/52568 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=81758
Diffstat (limited to 'net/openldap22-server/files/slapd.sh')
-rw-r--r--net/openldap22-server/files/slapd.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/openldap22-server/files/slapd.sh b/net/openldap22-server/files/slapd.sh
index 0e3601b07e5c..e8f6ed6b018d 100644
--- a/net/openldap22-server/files/slapd.sh
+++ b/net/openldap22-server/files/slapd.sh
@@ -7,18 +7,18 @@ slapd_program=@@PREFIX@@/libexec/slapd
# Uncomment one of the following:
#
# IPv4 Only
-#slapd_args='-h ldap://0.0.0.0'
+#slapd_args='-u ldap -g ldap -h ldap://0.0.0.0'
#
# IPv6 and IPv4
-#slapd_ags='-h "ldap://[::] ldap://0.0.0.0"'
+#slapd_ags='-u ldap -g ldap -h "ldap://[::] ldap://0.0.0.0"'
#
# IPv6 Only
-#slapd_args='-h ldap://[::]'
+#slapd_args='-u ldap -g ldap -h ldap://[::]'
#
#
-slapd_args=
+slapd_args="-u ldap -g ldap"
-pidfile=/var/run/slapd.pid
+pidfile=/var/run/ldap/slapd.pid
case "$1" in
start)
@@ -31,7 +31,6 @@ start)
stop)
if [ -f $pidfile ]; then
kill `cat $pidfile`
- telnet localhost ldap </dev/null >/dev/null 2>&1
echo -n ' slapd'
rm $pidfile
else