The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/test/kill_node.sh

11 lines
221 B

#!/bin/bash
# list of process name to be killed
targetProcess=( "harmony" "bootnode" "soldier" "commander" "profiler" )
for pname in "${targetProcess[@]}"
do
sudo pkill -9 -e "^(${pname})$"
done
rm -rf db-127.0.0.1-*