feat: auto_update 插件与监督进程入口
This commit is contained in:
1 parent
320ecfc0a7
commit
a68ae28960
8 files changed
+382
-4
No files matched your search
@@ -27,5 +27,16 @@ BILI_PUSH_MAX_IMAGES=3
|
||||
# {orig_author} {orig_text} 转发的原动态 {link} 链接
|
||||
# {images} 图片插入位置(不写则图片在消息末尾);换行写作 \n
|
||||
BILI_PUSH_TEMPLATE="[B站动态] {author} {action}\n\n{text}\n{images}\n{link}"
|
||||
|
||||
# ===== auto_update git 自动更新 =====
|
||||
# 更新检查间隔(秒)
|
||||
AUTO_UPDATE_INTERVAL=3600
|
||||
# 启动时立即检查一次更新
|
||||
AUTO_UPDATE_ON_STARTUP=false
|
||||
# 更新后自动退出进程(仅 nb run --reload 之外的部署方式需要;
|
||||
# 用 python bot.py 启动时插件会通过监督进程自动优雅重启,无需开启)
|
||||
AUTO_UPDATE_RESTART=false
|
||||
# 更新完成后发送通知的群,留空只记日志
|
||||
AUTO_UPDATE_NOTICE_GROUPS=[]
|
||||
# 可选:动态接口被风控(日志出现 code=-352)时,把登录B站后的完整 Cookie 填到这里
|
||||
BILI_PUSH_COOKIE=
|
||||
Reference in new issue
Block a user