mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
78087da287
- 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
14 lines
252 B
Bash
Executable File
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"
|
|
|