Collection of operational skills for VaultMesh infrastructure including: - backup-sovereign: Backup and recovery operations - btc-anchor: Bitcoin anchoring - cloudflare-tunnel-manager: Cloudflare tunnel management - container-registry: Container registry operations - disaster-recovery: Disaster recovery procedures - dns-sovereign: DNS management - eth-anchor: Ethereum anchoring - gitea-bootstrap: Gitea setup and configuration - hetzner-bootstrap: Hetzner server provisioning - merkle-forest: Merkle tree operations - node-hardening: Node security hardening - operator-bootstrap: Operator initialization - proof-verifier: Cryptographic proof verification - rfc3161-anchor: RFC3161 timestamping - secrets-vault: Secrets management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
24 lines
862 B
Bash
24 lines
862 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
SKILL_ROOT="$(dirname "$SCRIPT_DIR")"
|
|
source "$SCRIPT_DIR/_common.sh"
|
|
|
|
: "${LOCAL_SERVICE:=}"
|
|
: "${SERVICE_NAME:=cloudflared-tunnel}"
|
|
: "${CONFIG_DIR:=$SKILL_ROOT/outputs/config}"
|
|
|
|
main() {
|
|
[[ -n "$LOCAL_SERVICE" ]] || die "LOCAL_SERVICE is required."
|
|
[[ -f "$CONFIG_DIR/tunnel.json" ]] || log_warn "Missing tunnel snapshot (run 11_tunnel_apply.sh first)."
|
|
|
|
echo "[PLAN] $(date -Iseconds) Service plan"
|
|
echo "[PLAN] Generate config.yml under: $CONFIG_DIR/config.yml"
|
|
echo "[PLAN] Create systemd unit: /etc/systemd/system/$SERVICE_NAME.service"
|
|
echo "[PLAN] Unit will run: cloudflared tunnel --config $CONFIG_DIR/config.yml run"
|
|
echo "[PLAN] Ingress default: $LOCAL_SERVICE"
|
|
echo "[PLAN] Next: ./scripts/31_service_apply.sh (requires DRY_RUN=0)"
|
|
}
|
|
|
|
main "$@"
|