Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Emergency bugfix for killYACY.sh as the file yacy00.log does not exist in case that a too many open files error exist. In such a case, the file yacy00.log does not exist but only the file yacy00.log.lck. In the long term a different solution should be addressed.
Michael Peter Christen6b0e62ec59fa
diff --git a/killYACY.sh b/killYACY.shindex e9413e788..a5db0ab42 100755--- a/killYACY.sh+++ b/killYACY.sh@@ -4,10 +4,13 @@# To stop YaCy, use stopYACY.shcd `dirname $0`+PID=`fuser DATA/LOG/yacy00.log.lck | awk '{print $1}'`+echo "process-id is " $PID+kill -3 $PID+kill -9 $PIDPID=`fuser DATA/LOG/yacy00.log | awk '{print $1}'`echo "process-id is " $PIDkill -3 $PIDkill -9 $PIDrm -f DATA/yacy.running-echo "killed pid " $PID ", YaCy terminated"-+echo "killed pid " $PID ", YaCy terminated"\ No newline at end of file