diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-24 04:27:22 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-24 04:27:22 +0000 |
commit | f1750358046a1041fa543c17a5e579ad96099bbc (patch) | |
tree | 7fed862f1e0c50db05cc47bbb5339c3879512d34 /net/openldap22-server/files/slapd.sh | |
parent | - Fix configure to detect sound better (diff) |
New port: openldap-2.1
OpenLDAP is a suite of Lightweight Directory Access Protocol
(LDAP) servers, clients, utilities and development tools.
(yes, this port was the reason why the renaming was earlier this morning)
PR: ports/46009
Submitted by: Christian Kratzer <ck@cksoft.de>
Notes
Notes:
svn path=/head/; revision=76350
Diffstat (limited to 'net/openldap22-server/files/slapd.sh')
-rw-r--r-- | net/openldap22-server/files/slapd.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/net/openldap22-server/files/slapd.sh b/net/openldap22-server/files/slapd.sh deleted file mode 100644 index e6305bb448fa..000000000000 --- a/net/openldap22-server/files/slapd.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -slapd_program=@@PREFIX@@/libexec/slapd - -# Uncomment one of the following: -# -# IPv4 Only -#slapd_args='-h ldap://0.0.0.0;' -# -# IPv6 and IPv4 -#slapd_ags='-h "ldap://[::] ldap://0.0.0.0";' -# -# IPv6 Only -#slapd_args='-h ldap://[::];' -# -# -slapd_args= - -pidfile=/var/run/slapd.pid - -case "$1" in -start) - if [ -x $slapd ]; then - echo -n ' slapd' - ${slapd_program} ${slapd_args} - - fi - ;; -stop) - if [ -f $pidfile ]; then - kill `cat $pidfile` - telnet localhost ldap </dev/null >/dev/null 2>&1 - echo -n ' slapd' - rm $pidfile - else - echo ' slapd: not running' - fi - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 |