summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstopYACY.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/stopYACY.sh b/stopYACY.sh
index fb2d9ace6..631a8c19d 100755
--- a/stopYACY.sh
+++ b/stopYACY.sh
@@ -23,6 +23,7 @@ then
echo "You can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'"
else
- echo "Neither wget nor java could be found."
- echo "visit http://localhost:8080/Steering.html?shutdown=true to stop YaCy or use ./killYACY.sh"
+ port=`cat DATA/SETTINGS/httpProxy.conf |grep "^port="|sed "s/.*=//"`
+ echo "Neither wget nor java could be found or are not executable."
+ echo "Visit http://localhost:$port/Steering.html?shutdown=true to stop YaCy or (in emergency case) use ./killYACY.sh"
fi