惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
L
LangChain Blog
腾讯CDC
大猫的无限游戏
大猫的无限游戏
U
Unit 42
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
The GitHub Blog
The GitHub Blog
博客园_首页
GbyAI
GbyAI

IT Notes - raspberrypi

IT Notes
IT Notes
Stefano Marinelli · 2021-11-29 · via IT Notes - raspberrypi

Watchdog devices are important to be sure our servers are working. Unfortunately, watchdog daemon seem to crash if enabled on Rasbperry PI.

The problem is that our Pis have a strange watchdog hardware device and needs to be petted quite often. Because of this, running the watchdog daemon without some special flags won't work as standard FreeBSD petting time is too high.

All you need to do is enable watchdog and add a flags line with some specfic options. Open the /etc/rc.conf file with your favourite editor and add:

watchdogd_flags="-s 4 -t 8"
watchdogd_enable="YES"

Now reboot or just restart the watchdog daemon: service watchdogd restart

The daemon will launch and start using the hardware watchdog.