summaryrefslogtreecommitdiff
path: root/stopYACY.sh
blob: 7473a1ee55b9159967208ca7ef03358353195d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
cd `dirname $0`

bin/apicall.sh "Steering.html?shutdown=true" > /dev/null

echo "Please wait until the YaCy daemon process terminates [wget]"
echo "You can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'"

# wait until the yacy.running file disappears which means that YaCy has terminated
# If you don't want to wait, just run this concurrently
while [ -f "DATA/yacy.running" ]
do
sleep 1
done