2014-08-25 22:47:33 +02:00
|
|
|
#!/usr/bin/env sh
|
2005-04-07 21:19:42 +02:00
|
|
|
cd `dirname $0`
|
2005-05-03 11:47:56 +02:00
|
|
|
|
2012-09-25 23:20:09 +02:00
|
|
|
bin/apicall.sh "Steering.html?shutdown=true" > /dev/null
|
2010-03-11 01:12:53 +01:00
|
|
|
|
2011-05-14 11:03:18 +02:00
|
|
|
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'"
|
2006-02-04 20:31:12 +01:00
|
|
|
|
2011-12-28 02:46:29 +01:00
|
|
|
# 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
|