github.com/0xsequence/ethkit@v1.25.0/ethtest/reorgme/isRunning.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  yarn chain:ip --index 0 > /dev/null 2>&1
     4  RES=$?
     5  
     6  if [ $RES == 1 ]
     7  then
     8    echo "*****"
     9    echo "Oops! reorgme is not running. Please run 'make start-reorgme'."
    10    echo "*****"
    11    exit 1
    12  fi
    13  
    14  exit 0