Create check_log.sh

check wether the process's are printing log , if log greater than 180s is not be write out, than restart the serivce.