summaryrefslogtreecommitdiff
path: root/stopYACY.sh
diff options
context:
space:
mode:
authorrramthun <rramthun@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-06 16:33:58 +0000
committerrramthun <rramthun@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-06 16:33:58 +0000
commit63a7b61f520ba946e74de466ebcb73649f54fdd7 (patch)
tree9c316f3d2911d124a60b429ecf22cf6e544dc275 /stopYACY.sh
parentda59e15f281d99d2d060fb0d9e3f39bd07ca7769 (diff)
setting correct port
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1559 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'stopYACY.sh')
-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