heartbeat/config.Exsample.ini
yshtcn f85944abf8
Update config.Exsample.ini
- 增加了ping命令,读取配置文件中的heartbeat_ping项,并替换heartbeat_url中{ping}的部分。
- 增加了日志内容回显功能,除了写入日志外,使用py直接执行,会进行回显。
- 日志增加了ping状态和url的实际访问地址。
2023-08-04 11:43:20 +08:00

23 lines
661 B
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[Settings]
# 心跳间隔(以秒为单位)
interval = 60
# 心跳URL
heartbeat_url = http://example.com/heartbeat?ping={ping}
# 心跳ping
#心跳地址错误或者为空或者url中没有{ping}将不执行
heartbeat_ping = example.com
# 是否启用代理0为不启用1为启用
proxy_enabled = 0
# 代理URL格式为socks5://username:password@localhost:1080
# 如果代理不需要用户名和密码可以省略例如socks5://localhost:1080
proxy_url = socks5://username:password@localhost:1080
# 任务栏托盘标题
title = 系统心跳
# 托盘悬停提示
tips = 系统状态报送(首次运行时记得先更新配置)