[Unit] Description=Vanguard alerts: deliver Kibana's alert documents to Discord After=docker.service [Service] Type=oneshot # Written by configure.py from .env (ALERT_RETENTION_DAYS, ALERT_SUPPRESS_S, ALERT_INDEX). A timer never reads the repo's .env, so without # this the tunables were settable in name only. The leading - means "carry on if it is absent". EnvironmentFile=-/etc/vanguard/alerts.env ExecStart=/usr/local/bin/vanguard-alerts.sh # Kibana cannot post outside the stack on a basic license, so its rules write into the vanguard-alerts # index and this is the delivery side. See bin/vanguard-alerts.sh and LOGGING.md.