Commit Graph

9 Commits

Author SHA1 Message Date
PTah 1a8d42b79a feat: verbose update_ssh_monitor action log and run summary
Log each step to /var/log/update_script.log and stdout (unless --quiet).
End-of-run summary explains skip reasons: checksum match, git pull fail,
missing clone path, versions and sha256 prefixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 08:13:24 +10:00
PTah 361b66292f feat: bootstrap SAC config on update from pre-SAC installs
ssh-monitor.conf.example ships dual SAC + Telegram defaults; updater
overwrites /etc/ssh-monitor.conf when UseSAC is off or SAC_API_KEY empty
or sac-client.sh is missing, with backup. Leaves configured hosts untouched.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 15:23:35 +10:00
PTah fbd6770c71 feat: exclusive pilot — spool flush and verify script
Replay spool on each monitor loop; sac_post_payload refactor;
pilot-verify-exclusive.sh and --check-sac hints for exclusive mode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 13:25:47 +10:00
PTah 919ea96ec6 feat: first deploy via update_ssh_monitor.sh --deploy
Add first_deploy.sh wrapper and --deploy mode: git clone, install
ssh-monitor and sac-client, optional config/systemd/updater copy,
console summary and config variable checklist.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 12:36:02 +10:00
PTah 3cc2649630 fix: always sync sac-client.sh in update_ssh_monitor
Copy sac-client.sh on every git pull by checksum, not only when
ssh-monitor binary changes. Restart service when either file updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 12:20:14 +10:00
PTah b7ed531122 fix: update_ssh_monitor копирует sac-client.sh, REPO kalinamall
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 10:47:38 +10:00
PTah bea39a6ef5 sync: align internal repo with 1.1.3-server-label
- REPO_URL points to git.kalinamall.ru

- ssh-monitor.conf may be committed here (secrets); .env still ignored

- Docs note for closed vs public GitHub

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 19:34:01 +10:00
PapaTramp 21ef703866 Update update_ssh_monitor.sh 2026-05-14 12:59:12 +10:00
PapaTramp e48a001d37 Create update_ssh_monitor.sh
Скрипт проверки наличия обновлений основного скрипта
2026-05-14 12:57:55 +10:00