summaryrefslogtreecommitdiff
path: root/source4/heimdal/tests/ldap/slapd-stop
blob: 278d98ae124d8fe5e05fa90778143613c597ba5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh 
# $Id$

echo stoping slapd

# kill of old slapd
if [ -f slapd.pid ]; then
    kill `cat slapd.pid`
    sleep 5
fi
if [ -f slapd.pid ]; then
    kill -9 `cat slapd.pid`
    rm -f slapd.pid
    sleep 5
fi

exit 0