修复版本号为 3.4.8-xg1,更新示例参数,调整配置文件路径
Build and Release / build-and-test (amd64, alpine) (push) Successful in -2m2s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in -1m56s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 5s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 10s
Build and Release / release (push) Has been skipped

This commit is contained in:
2026-04-14 10:51:01 +08:00
parent 46d8acb78f
commit 8a3cca1065
5 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -18,13 +18,13 @@ chown xxxigcc-proxy:xxxigcc-proxy /var/log/xxxigcc-proxy
chmod 750 /var/log/xxxigcc-proxy
# Create config directory
mkdir -p /etc/xxxigcc-proxy
mkdir -p /var/lib/xxxigcc-proxy
# Copy default config if it doesn't exist
if [ ! -f /etc/xxxigcc-proxy/config.json ]; then
cp /opt/xxxigcc-proxy/config.json /etc/xxxigcc-proxy/config.json
chown xxxigcc-proxy:xxxigcc-proxy /etc/xxxigcc-proxy/config.json
chmod 640 /etc/xxxigcc-proxy/config.json
if [ ! -f /var/lib/xxxigcc-proxy/config.json ]; then
cp /opt/xxxigcc-proxy/config.json /var/lib/xxxigcc-proxy/config.json
chown xxxigcc-proxy:xxxigcc-proxy /var/lib/xxxigcc-proxy/config.json
chmod 640 /var/lib/xxxigcc-proxy/config.json
fi
# Set permissions