#!/usr/bin/env bash # Start the voice intake watchdog. # # environment.d reaches the systemd user manager, not a fresh SSH shell, so the # secrets file is sourced here the same way ~/voice_bridge/start_bridge.sh does. # MQTT_USER/MQTT_PASS are optional: the .13:1883 plane allows anonymous clients. set -euo pipefail cd "$(dirname "$0")" SECRETS_FILE="${SECRETS_FILE:-$HOME/.config/environment.d/10-secrets.conf}" if [[ -f "$SECRETS_FILE" ]]; then set -a # shellcheck disable=SC1090 source "$SECRETS_FILE" set +a fi exec docker compose up -d --build