feat: 完善代理重试机制,添加数据验证告警,新增README文档

This commit is contained in:
shengyudong@yunqueai.net
2026-01-16 18:36:52 +08:00
parent 322ac74336
commit b518e6aacf
55 changed files with 13202 additions and 34781 deletions

View File

@@ -1,6 +1,7 @@
[Unit]
Description=百家号数据同步守护进程
After=network.target
Description=百家号数据同步守护进程(含数据验证与短信告警)
After=network.target mysql.service
Wants=mysql.service
[Service]
Type=simple
@@ -12,8 +13,18 @@ RestartSec=10
StandardOutput=journal
StandardError=journal
# 环境变量(如果需要)
# Environment="PATH=/usr/local/bin:/usr/bin:/bin"
# 环境变量配置
Environment="LOAD_FROM_DB=true"
Environment="USE_PROXY=true"
Environment="DAYS=7"
Environment="MAX_RETRIES=3"
Environment="RUN_NOW=true"
Environment="ENABLE_VALIDATION=true"
Environment="NON_INTERACTIVE=true"
# 阿里云短信服务凭据可选也可使用sms_config.json
# Environment="ALIBABA_CLOUD_ACCESS_KEY_ID=your_access_key_id"
# Environment="ALIBABA_CLOUD_ACCESS_KEY_SECRET=your_access_key_secret"
[Install]
WantedBy=multi-user.target