mirror of
https://github.com/zgs225/secgate-vpn-docker.git
synced 2026-11-25 19:41:15 +08:00
fix: 修正 SCREEN 参数、sha256 自检与端口默认绑定
- docker-compose.yml: SCREEN 值尾部误加了两个引号(实际传入 1280x800x24""), Xvfb 会以 Fatal server error 退出,客户端刷屏 "could not connect to display :1" - scripts/verify.sh: 校验的 vendor/*.sha256 从来没人生成,且未切到目录, 自检恒报「sha256 不一致」;改为存在才校验、存在则切到 vendor 再校验 - scripts/deploy-nas.sh: 新增 BIND_ADDR(默认 127.0.0.1),不再把无认证的 noVNC/SOCKS5 直接绑到 0.0.0.0;就绪探测与提示改走 SSH 隧道,绑非回环时告警 - docker-entrypoint.sh: kill $(jobs -p) 换成 jobs -p | xargs -r kill,消除 word splitting
This commit is contained in:
1 parent
d435f41889
commit
fba151403e
4 files changed
+36
-9
No files matched your search
@@ -14,7 +14,7 @@ log() { echo "[entrypoint] $*"; }
|
||||
|
||||
cleanup() {
|
||||
log "收到退出信号,清理子进程"
|
||||
kill $(jobs -p) 2>/dev/null
|
||||
jobs -p | xargs -r kill 2>/dev/null
|
||||
wait 2>/dev/null
|
||||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
Reference in new issue
Block a user