slackbuilds/system/watchdog
Menno Duursma 816f172bcd system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
..
patches system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
README system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
doinst.sh system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
rc.watchdog system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
slack-desc system/watchdog: Updated for version 5.3.1 2010-05-11 19:46:45 +02:00
watchdog.SlackBuild system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00
watchdog.info system/watchdog: Updated for version 5.7 2010-05-13 00:42:22 +02:00

README

Linux watchdog timer daemon

This service periodically writes to /dev/watchdog - in the event
of it _not_ being able to do so, Linux may reset the system.

For this to work, a kernel driver for the aformentioned device needs
to be loaded.  The module may be found in:
  /lib/modules/`uname -r`/kernel/drivers/char/watchdog

It can be configured to try and fix things (such as networking)
before triggering a reboot. As 'repair.sh' may be able to do.
See the examples included in /usr/doc/watchdog-5.6/examples

This package also contains the 'wd_keepalive' program by Marcel Jansen
which "can be run during critical periods when the normal watcdog
shouldn't be run. It will read from the same configuration file;
it will do no checks but will keep writing to the device.

To enable the watchdog: make sure a kernel module gets loaded for it
(at boot) such as the 'softdog' or an actual hardware driver... 
Then add the following to rc.local:
	# Start the watchdog timer deamon
	if [ -x /etc/rc.d/rc.watchdog ]; then
	  /etc/rc.d/rc.watchdog start
	fi