taler-monitoring/meta/deprecated/run-mail-monitoring.sh
Hernâni Marques 2a20def806
release 1.13.7: optional and meta scripts under meta/
Move deprecated mail/mattermost host-agent units, firecuda outside-runner
helpers, and legacy multi-host site-gen into meta/. Production stays
host-agent + site-gen/console_to_html.py; install no longer ships mail/mm timers.
2026-07-19 03:36:12 +02:00

20 lines
881 B
Bash
Executable file

#!/usr/bin/env bash
# DEPRECATED (v1.8.0): mail is part of taler-monitoring-surface.
# Kept as a thin alias so old timers/docs do not break.
#
# Prefer: run-surface-monitoring.sh
# Public page: https://taler.hacktivism.ch/taler-monitoring-surface/
#
set -uo pipefail
AGENT_DIR=$(cd "$(dirname "$0")" && pwd)
echo "NOTE: run-mail-monitoring.sh is deprecated (v1.8.0) — folding into surface" >&2
export PHASES="${PHASES:-mail surface monpages}"
# force surface HTML paths (no /taler-monitoring-mail*)
export HTML_OK_DIR="taler-monitoring-surface"
export HTML_ERR_DIR="taler-monitoring-surface_err"
export HTML_URL_OK="/taler-monitoring-surface/"
export HTML_URL_ERR="/taler-monitoring-surface_err/"
export PAGE_LABEL="taler-monitoring-surface"
export MON_HOSTS="${MON_HOSTS:-taler.hacktivism.ch}"
export MONPAGES_INVENTORY=job
exec bash "$AGENT_DIR/run-surface-monitoring.sh" "$@"