gitlab.com/lightnet1/evrynet-node@v1.1.0/stop_test_nodes.sh (about)

     1  #!/bin/sh
     2  echo "--- Stop all test nodes ..."
     3  # shellcheck disable=SC2046
     4  kill -INT $(pgrep -f ./gev)
     5  for i in 1 2 3 4
     6  do
     7    lsof -ti:2200"$i" | xargs kill
     8  done