mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-01-22 05:08:42 -05:00
8d1b66accc
*) replaced all shebangs with more universal versions
16 lines
382 B
Bash
Executable File
16 lines
382 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# THIS IS ONLY FOR EMERGENCY CASES
|
|
# To stop YaCy, use stopYACY.sh
|
|
|
|
cd `dirname $0`
|
|
PID=`fuser DATA/LOG/yacy00.log.lck | awk '{print $1}'`
|
|
echo "process-id is " $PID
|
|
kill -3 $PID
|
|
kill -9 $PID
|
|
PID=`fuser DATA/LOG/yacy00.log | awk '{print $1}'`
|
|
echo "process-id is " $PID
|
|
kill -3 $PID
|
|
kill -9 $PID
|
|
rm -f DATA/yacy.running
|
|
echo "killed pid " $PID ", YaCy terminated" |