You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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
|