☰
Debian Codegraph
@
7.8.git20240113.1b4565a+dfsg-2
7.8.git20221117.28daf24+dfsg-12
7.8.git20221117.28daf24+dfsg-11
/
/
tests
/
ldap
/
slapd-stop
☽
☼
tests/ldap/slapd-stop
code
plain
raw
BSD-3-clause
1996-2017 Kungliga Tekniska Högskolan; 2009, 2010 Apple, Inc.; 1991, 2013 Massachusetts Institute of Technology; 1995-1997 Eric Young <
eay@@mincom.oz.au
>; 1988, 1990, 1993 The Regents of the University of California
debian/copyright
1
#!/bin/sh
2
# $Id$
3
4
echo stoping slapd
5
6
# kill of old slapd
7
if [ -f slapd.pid ]; then
8
kill `cat slapd.pid`
9
sleep 5
10
fi
11
if [ -f slapd.pid ]; then
12
kill -9 `cat slapd.pid`
13
rm -f slapd.pid
14
sleep 5
15
fi
16
17
exit 0
18