chore(docs): GitHub repo URLs, remove .cursor from git, mirror scripts

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 11:36:51 +10:00
parent 9a3855bf0a
commit 2956d14d94
16 changed files with 216 additions and 198 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
# === Конфигурация скрипта ===
UPDATE_DIR="/opt/scripts/update"
SCRIPT_NAME="ssh-monitor"
REPO_URL="https://git.kalinamall.ru/PapaTramp/ssh-monitor.git"
REPO_URL="https://github.com/PTah/ssh-monitor.git"
LOCAL_SCRIPT_PATH="/usr/local/bin/ssh-monitor"
LOG_FILE="/var/log/update_script.log"
@@ -339,7 +339,7 @@ get_git_short_rev() {
git -C "$repo_dir" rev-parse --short HEAD 2>/dev/null || printf 'unknown'
}
# Remote kalinamall или origin с URL git.kalinamall.ru (не GitHub).
# Remote с URL закрытого зеркала (не GitHub), если настроен.
resolve_git_remote_name() {
local repo="$1" name url
if git -C "$repo" remote get-url kalinamall &>/dev/null; then