yacy_search_server/killYACY.sh
orbiter 78087da287 - changed seed file storage to clear text
- fixed kill script
- fixed saving of seed file (had been corrupted by latest changes)
- some refactoring

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4799 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-05-14 20:30:44 +00:00

14 lines
252 B
Bash
Executable File

#!/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
sleep 1
kill -9 $PID
echo "killed pid " $PID ", YaCy terminated"