Merge pull request #1388 from harmony-ek/fix_kill_node
Fix node killing in local testpull/1405/head
commit
d21bc08e7d
@ -1,9 +1,3 @@ |
||||
#!/bin/bash |
||||
|
||||
for pid in `/bin/ps -fu $USER| grep "harmony\|txgen\|soldier\|commander\|profiler\|beacon\|bootnode" | grep -v "grep" | grep -v "vi" | awk '{print $2}'`; |
||||
do |
||||
echo 'Killed process: '$pid |
||||
kill -9 $pid |
||||
done |
||||
|
||||
pkill -9 '^(harmony|txgen|soldier|commander|profiler|beacon|bootnode)$' | sed 's/^/Killed process: /' |
||||
rm -rf db-127.0.0.1-* |
||||
|
Loading…
Reference in new issue