Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c2_watchdog_timer [2016/06/22 14:31] moon.linux |
en:c2_watchdog_timer [2016/07/14 04:36] moon.linux [Watchdog demon configuration files] |
||
---|---|---|---|
Line 36: | Line 36: | ||
</code> | </code> | ||
+ | ===== Install Watchdog daemon ===== | ||
+ | To install watchdog daemon | ||
+ | <code> | ||
+ | sudo apt-get install watchdog | ||
+ | </code> | ||
+ | |||
+ | Create dir for watchdog logs files | ||
+ | |||
+ | <code> | ||
+ | sudo mkdir -p /var/log/watchdog | ||
+ | </code> | ||
Append the default watchdog configuration. | Append the default watchdog configuration. | ||
**/etc/default/watchdog** | **/etc/default/watchdog** | ||
Line 98: | Line 109: | ||
pidfile = /var/run/rsyslogd.pid | pidfile = /var/run/rsyslogd.pid | ||
+ | watchdog-timeout = 15 | ||
</code> | </code> | ||