feat: amanita external probe (timer + vx-only key)

This commit is contained in:
Hernâni Marques 2026-09-18 15:11:41 +02:00
parent 7691ac3065
commit d27c7254af
No known key found for this signature in database
6 changed files with 416 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=External amanita freeze probe (ICMP+SSH last-alive)
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/amanita-probe/README.md
After=default.target
[Service]
Type=oneshot
ExecStart=%h/.local/bin/koopa-amanita-probe once
# Probe outcomes are data in the log; never fail the timer
SuccessExitStatus=0 1
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=6
[Install]
WantedBy=default.target

View file

@ -0,0 +1,13 @@
[Unit]
Description=Timer · external amanita probe (~15s)
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/amanita-probe/README.md
[Timer]
OnBootSec=30s
OnUnitActiveSec=15s
AccuracySec=5s
Persistent=false
Unit=koopa-amanita-probe.service
[Install]
WantedBy=timers.target