You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/killYACY.sh

13 lines
244 B

#!/bin/sh
# THIS IS ONLY FOR EMERGENCY CASES
# To stop YaCy, use stopYACY.sh
cd `dirname $0`
PID=`fuser DATA/LOG/yacy00.log | awk '{print $1}'`
echo "process-id is " $PID
kill -3 $PID
kill -9 $PID
echo "killed pid " $PID ", YaCy terminated"