reboot_temperature/README.md

14 lines
711 B
Markdown
Raw Normal View History

2021-08-05 11:33:09 +08:00
# reboot_temperature
树莓派温度上限时重启或者关机, 保护硬件
搭配qqMail(https://git.aixiao.me/aixiao/qqMail)实现QQ邮件发送告警
## Help Information
thermal_zone = "/sys/class/thermal/thermal_zone0/temp"; // 树莓派温度
temperature = 70 // 温度上限
log_file = "log_reboot.log"; // 日志文件
second = 60 // 循环秒
nice = -20 // 进程进程优先级 +19 - -20
off_power = 1 // 1关机 0重启