summaryrefslogtreecommitdiff
path: root/killYACY.sh
diff options
context:
space:
mode:
authorLotus <lotus@localhost>2012-02-22 18:41:32 +0100
committerLotus <lotus@localhost>2012-02-22 18:41:32 +0100
commit43ffae65900a4b6a6cebfaeab0bda3df0cf7ec80 (patch)
treefc3adc4edda8998f7b6f637a9904ef7eb286e0ce /killYACY.sh
parente101c2e0e273f8ba25d9ebf2fa23af10d2c36fa1 (diff)
delete yacy.running after kill as requested in
http://forum.yacy-websuche.de/viewtopic.php?t=3835
Diffstat (limited to 'killYACY.sh')
-rwxr-xr-xkillYACY.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/killYACY.sh b/killYACY.sh
index 3a9ff5691..e9413e788 100755
--- a/killYACY.sh
+++ b/killYACY.sh
@@ -8,5 +8,6 @@ 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"