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

推荐订阅源

V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
博客园 - 【当耐特】
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
IT之家
IT之家
T
Tailwind CSS Blog
月光博客
月光博客
Vercel News
Vercel News
V
V2EX
Engineering at Meta
Engineering at Meta
B
Blog
Stack Overflow Blog
Stack Overflow Blog
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
腾讯CDC
I
InfoQ

IT Notes - ha

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

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.