Repository Public
1#!/bin/sh2# Runs mccctl on the HOST with the production configuration (~/.config/mcc/env, no secrets in it).3# Usage (over SSH on the host): ~/apps/maclustr-command-center/scripts/mccctl status4set -e5ENVF="${MCC_ENV_FILE:-$HOME/.config/mcc/env}"6[ -f "$ENVF" ] || { echo "missing $ENVF" >&2; exit 1; }7set -a; . "$ENVF"; set +a8export PATH="/opt/homebrew/bin:/opt/homebrew/opt/postgresql@17/bin:$PATH"9exec "$(dirname "$0")/../dist/mccctl" "$@"10