diff --git a/README.md b/README.md new file mode 100644 index 0000000..0dd66fd --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# 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重启 +