This commit is contained in:
2023-05-24 06:14:19 +00:00
parent 71d962c797
commit b6d11bc84e

View File

@@ -65,9 +65,9 @@ fi
install_local_backend() {
sed -i s/DOMAIN_NAME/$DOMAIN/g /tmp/$LOCAL_BACKEND_PROXY/*.json
sed -i s/DOMAIN_NAME/$DOMAIN/g /tmp/$LOCAL_BACKEND_REPO/*.json
cp -rv /tmp/$LOCAL_BACKEND_PROXY/*.json $SERVICE_DIR/ ;
cp -rv /tmp/$LOCAL_BACKEND_REPO/*.json $SERVICE_DIR/ ;
}
install_core_dns() {
@@ -146,6 +146,7 @@ git clone ssh://$GIT_REPO/$ORGANIZATION/$CORE_DNS.git /tmp/$CORE_DNS
if [[ "$LOCAL_PROXY" == "YES" || "$LOCAL_PROXY" == "TRUE" ]]; then
git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_PROXY_REPO.git /tmp/$LOCAL_PROXY_REPO
git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO
fi
if [[ "$VPN_PROXY" == "YES" || "$VPN_PROXY" == "TRUE" ]]; then
@@ -156,7 +157,6 @@ if [[ "$CRON" == "YES" || "$CRON" == "TRUE" ]]; then
git clone ssh://$GIT_REPO/$ORGANIZATION/$CRON_REPO.git /tmp/$CRON_REPO
fi
git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO
# INSTALL PROXY SERVICES