|
|
|
@ -5,7 +5,14 @@ if [ -x `which wget` ]
|
|
|
|
|
then
|
|
|
|
|
bin/apicall.sh "Steering.html?shutdown=true"
|
|
|
|
|
|
|
|
|
|
echo "Please wait until the YaCy daemon process terminates"
|
|
|
|
|
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'"
|
|
|
|
|
|
|
|
|
|
elif [ -x `which curl` ]
|
|
|
|
|
then
|
|
|
|
|
bin/apicall.sh "Steering.html?shutdown=true"
|
|
|
|
|
|
|
|
|
|
echo "Please wait until the YaCy daemon process terminates [curl]"
|
|
|
|
|
echo "You can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'"
|
|
|
|
|
|
|
|
|
|
elif [ -x `which java` ]
|
|
|
|
@ -17,7 +24,7 @@ then
|
|
|
|
|
|
|
|
|
|
java -classpath classes:htroot:$CLASSPATH net.yacy.yacy -shutdown
|
|
|
|
|
|
|
|
|
|
echo "Please wait until the YaCy daemon process terminates"
|
|
|
|
|
echo "Please wait until the YaCy daemon process terminates [java]"
|
|
|
|
|
echo "You can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|