Watchdog

There are some times when the raspberry pi could be frozen or enter into a malfunction. A watchdog functionality can be used to detect and recover from this situation.

There are a lot of guides to follow to enable a watchdog in the raspberry pi: