mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
timeout on hanging httpd
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1558 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
fd7af851bf
commit
da59e15f28
|
@ -5,7 +5,7 @@ if [ -x `which wget` ]
|
|||
then
|
||||
port=`cat DATA/SETTINGS/httpProxy.conf |grep "^port="|sed "s/.*=//"`
|
||||
pw=`cat DATA/SETTINGS/httpProxy.conf |grep "^adminAccountBase64MD5="|sed "s/.*=//"`
|
||||
wget -q -t 1 --header "Authorization: realm=$pw" http://localhost:$port/Steering.html?shutdown=true -O /dev/null
|
||||
wget -q -t 1 --timeout=5 --header "Authorization: realm=$pw" http://localhost:$port/Steering.html?shutdown=true -O /dev/null
|
||||
|
||||
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'"
|
||||
|
|
Loading…
Reference in New Issue
Block a user