1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00
samba-mirror/source4/lib/ldb/tests/start_slapd.sh
Andrew Bartlett b4c1e62259 r20464: Make it clear what does the process group stuff
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
2007-10-10 14:35:53 -05:00

15 lines
323 B
Bash
Executable File

#!/bin/sh
if [ -z "$LDBDIR" ]; then
LDBDIR=`dirname $0`/..
export LDBDIR
fi
mkdir -p $LDBDIR/tests/tmp/db
# running slapd in the background (with &) means it stays in the same process group, so it can be
# killed by timelimit
slapd -d0 -f $LDBDIR/tests/slapd.conf -h "`$LDBDIR/tests/ldapi_url.sh`" $* &
sleep 2