lighthouse/scripts/local_testnet/kill_processes.sh
Wink Saville 21d1af435a Create a local testnet (#2614)
The testnet will be on the local computer and have 1 eth1 node,
4 beacon nodes, 1 validator with 20 vc's.
2021-10-01 06:32:37 +00:00

15 lines
197 B
Bash
Executable File

#!/usr/bin/env bash
# Kill processes
# First parameter is the file with
# one pid per line.
if [ -f "$1" ]; then
while read pid
do
echo killing $pid
kill $pid
done < $1
fi