From b68deb407a85b9544dcfc10fb874edcfdb8b97d9 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 22 Feb 2010 20:14:16 +0000 Subject: - moved test data from /bin to /test/words - refactoring of stopYACY.sh by introduction of /bin/apicall which is able to call any api file with attached authorization git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6691 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- stopYACY.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'stopYACY.sh') diff --git a/stopYACY.sh b/stopYACY.sh index 6152fa0fd..037fbf457 100755 --- a/stopYACY.sh +++ b/stopYACY.sh @@ -3,9 +3,7 @@ cd `dirname $0` if [ -x `which wget` ] then - port=`cat DATA/SETTINGS/yacy.conf |grep "^port="|sed "s/.*=//"` - pw=`cat DATA/SETTINGS/yacy.conf |grep "^adminAccountBase64MD5="|sed "s/.*=//"` - wget -q -t 1 --timeout=5 --header "Authorization: realm=$pw" http://localhost:$port/Steering.html?shutdown=true -O /dev/null + bin/apicall.sh "Steering.html?shutdown=true" echo "Please wait until the YaCy daemon process terminates" echo "You can monitor this with 'tail -f DATA/LOG/yacy00.log' and 'fuser log/yacy00.log'" -- cgit v1.2.3