Create check2RestartThrift.sh