Initial YakPanel commit
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# sudo -E bash install.sh
|
||||
#
|
||||
# Environment (optional):
|
||||
# REPO_URL Git URL (default: https://source.yakpanel.com/admin/yakpanel-core)
|
||||
# REPO_URL Git URL (default: https://source.yakpanel.com/admin/yakpanel-core.git)
|
||||
# YAKPANEL_BRANCH Branch/tag for shallow clone (default: default branch)
|
||||
# GIT_REF Alias for YAKPANEL_BRANCH
|
||||
# INSTALL_PATH Install dir (default: /www/server/YakPanel-server)
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
REPO_URL="${REPO_URL:-https://source.yakpanel.com/admin/yakpanel-core}"
|
||||
REPO_URL="${REPO_URL:-https://source.yakpanel.com/admin/yakpanel-core.git}"
|
||||
INSTALL_PATH="${INSTALL_PATH:-/www/server/YakPanel-server}"
|
||||
PANEL_PORT="${PANEL_PORT:-8888}"
|
||||
BACKEND_PORT="${BACKEND_PORT:-8889}"
|
||||
@@ -213,7 +213,7 @@ else
|
||||
if ! "${CLONE_ARGS[@]}"; then
|
||||
echo "Git clone failed. Check REPO_URL=$REPO_URL, DNS, and outbound HTTPS."
|
||||
echo "If the server requires sign-in: allow anonymous clone for HTTP(S), or use a token in the URL, e.g."
|
||||
echo " REPO_URL=https://USER:TOKEN@source.yakpanel.com/admin/yakpanel-core"
|
||||
echo " REPO_URL=https://USER:TOKEN@source.yakpanel.com/admin/yakpanel-core.git"
|
||||
echo "Or override: REPO_URL=https://your.other.git/mirror.git"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user