mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 01:36:43 +08:00
- official-resource-test-pull.md §0.1:新增"带凭据代理优先用 HTTPS_PROXY 环境 变量"推荐(含 systemd EnvironmentFile 0600 用法),补充凭据处理说明——日志/ status 脱敏、经 ALL_PROXY 环境变量传 curl、daemon 经环境变量下传、bat-proxy.secret 复用与 clean-stable 清除;修正旧表述"代理参数写入后台子进程启动参数"。 - official-resource-backend.md 第 13 条:把"仅日志脱敏"扩写为全链路凭据不落 世界可读位置。 - CURRENT_STATUS.md 第 7 条:同步上述凭据处理描述。 - deployments/systemd/official-sync.env.example:新增注释版 HTTPS_PROXY/NO_PROXY 示例,并提示含凭据时按 0600 安装。 - CHANGELOG:新增"修复"(Unity 版本数值比较)与"安全"(代理凭据不落世界可读 位置)条目。 对应 issue #18 维护清单 1-1 / 1-2。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
937 B
Bash
21 lines
937 B
Bash
# Optional overrides for bluearchive-toolkit-official-sync.service.
|
|
#
|
|
# Install as:
|
|
# sudo install -o root -g root -m 0644 deployments/systemd/official-sync.env.example /etc/bluearchive-toolkit/official-sync.env
|
|
#
|
|
# Paths are intentionally independent from any official launcher or game client
|
|
# install directory. Do not point BAT_OUTPUT_ROOT at an existing game directory.
|
|
|
|
BAT_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/official
|
|
BAT_INTERVAL=1h
|
|
BAT_ERROR_RETRY=60s
|
|
|
|
# Optional local proxy for curl transfers. Setting a standard proxy environment
|
|
# variable here is the recommended way to configure a credentialed proxy: bat
|
|
# auto-detects it and the credential never lands on the command line, process
|
|
# argv, or any state file. If the proxy URL contains credentials, install THIS
|
|
# file with mode 0600 (not 0644) so the secret is not world-readable.
|
|
#
|
|
# HTTPS_PROXY=http://user:pass@127.0.0.1:7890
|
|
# NO_PROXY=localhost,127.0.0.1,::1
|