repo.or.cz
/
heimdal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wincng: Remove trailing space
[heimdal.git]
/
tests
/
ldap
/
slapd-stop
blob
278d98ae124d8fe5e05fa90778143613c597ba5c
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