Simple bash watchdog