All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -13s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -6s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in -7s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 7s
Build and Release / release (push) Successful in 21s
- 将 Debian 包仓库从 bookworm/trixie 双发行版改为通用 stable 仓库 - 新增完整的 llmdoc 文档系统,包含架构、指南和参考文档 - 更新 README.md 和部署指南以反映新的仓库配置 - 添加 .gitignore 文件
1.0 KiB
1.0 KiB
Debian 包结构参考
目录结构
xxxigcc-proxy_3.4.8-xg1_amd64/
├── DEBIAN/
│ ├── control # 包元数据
│ ├── postinst # 安装后脚本
│ ├── prerm # 移除前脚本
│ └── postrm # 移除后脚本
│
├── opt/xxxigcc-proxy/
│ ├── xxxigcc-proxy # 主二进制文件
│ └── config.json # 默认配置
│
└── lib/systemd/system/
└── xxxigcc-proxy.service # Systemd 服务文件
关键文件说明
DEBIAN/control
- 定义包的基本信息
- 指定依赖关系
- 提供描述性元数据
维护脚本
postinst:安装后配置prerm:停止服务、准备卸载postrm:清理残留文件
二进制文件
- 位于
/opt/xxxigcc-proxy/ - 默认权限:
755(可执行)
依赖关系
必需依赖:
libc6libuv1libssl3或libssl1.1libhwloc15或libhwloc5
安全注意事项
- 严格控制文件权限
- 使用专用用户和组
- 最小化安装目录权限