mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-02 15:51:11 +08:00
- RELEASE: v2.0.4正式版发布; - CHANGE: 优化GitReq的`HTTP Client`参数, 使其更符合本项目使用场景 - CHANGE: 优化Matches - REMOVE: 移除Caddyfile残留 - REMOVE: 由于v2改进后稳定性增强, 故移除健康检测
18 lines
543 B
Bash
18 lines
543 B
Bash
#!/bin/bash
|
|
|
|
APPLICATON=ghproxy
|
|
|
|
if [ ! -f /data/${APPLICATON}/config/blacklist.json ]; then
|
|
cp /data/${APPLICATON}/blacklist.json /data/${APPLICATON}/config/blacklist.json
|
|
fi
|
|
|
|
if [ ! -f /data/${APPLICATON}/config/whitelist.json ]; then
|
|
cp /data/${APPLICATON}/whitelist.json /data/${APPLICATON}/config/whitelist.json
|
|
fi
|
|
|
|
if [ ! -f /data/${APPLICATON}/config/config.yaml ]; then
|
|
cp /data/${APPLICATON}/config.yaml /data/${APPLICATON}/config/config.yaml
|
|
fi
|
|
|
|
/data/${APPLICATON}/${APPLICATON} > /data/${APPLICATON}/log/run.log 2>&1
|
|
|