add check if logfile contains RESTARTED