Files
wmic/Samba/source/lib/ldb/tests/kill_slapd.sh
T

13 lines
253 B
Bash
Raw Normal View History

2019-02-16 00:16:52 +01:00
#!/bin/sh
if [ -z "$LDBDIR" ]; then
LDBDIR=`dirname $0`/..
export LDBDIR
fi
if [ -f tests/tmp/slapd.pid ]; then
echo "killing slapd process `cat tests/tmp/slapd.pid`"
kill -9 `cat tests/tmp/slapd.pid`
rm -f tests/tmp/slapd.pid
fi