Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

stopYACY.sh can now use curl

orbiter35d0057cb0b3
diff --git a/stopYACY.sh b/stopYACY.sh
index 037fbf457..3b45c134a 100755
--- a/stopYACY.sh
+++ b/stopYACY.sh
@@ -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