[HLCC-ICE-000001][ZY-CONTRIB-20260723-001] feat: 以来光者贡献链启用冰朔第五域个人子频道
This commit is contained in:
commit
5615453e4e
660 changed files with 122355 additions and 0 deletions
16
server-tools/jd-disaster-recovery/jd-recovery-entry.sh
Normal file
16
server-tools/jd-disaster-recovery/jd-recovery-entry.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
case "${SSH_ORIGINAL_COMMAND:-}" in
|
||||
health-check)
|
||||
systemctl is-active lake-lamp-authz.service
|
||||
systemctl is-active lake-lamp-action-broker.service
|
||||
;;
|
||||
restore-authz|install-owner-access|restore-navigation-map|rollback-last-deploy)
|
||||
exec /usr/local/libexec/guanghu/jd-recovery-runner "${SSH_ORIGINAL_COMMAND}"
|
||||
;;
|
||||
*)
|
||||
echo "recovery action denied" >&2
|
||||
exit 126
|
||||
;;
|
||||
esac
|
||||
Loading…
Reference in a new issue