My plan is to configure the file /etc/watchdog.conf
to detect if the process that I want is down and reboot the system to run again. For example, I work on a Raspberry Pi 3 in Debian 9. I would like the Raspberry is playing videos constantly and if the process is stoped for any reason, the watchdog detects it and reboot the system. I have a lot of doubts about it. On a terminal, I execute this commands:
modprobe bcm2708_wdog
modprobe bcm2835_wdt
echo "bcm2835_wdt" | sudo tee -a /etc/modules
chkconfig watchdog on
nano /etc/watchdog.conf
How i can do it? how i can configure it?