koopa-admin-log/configs/systemd/user/koopa-login-health.service

18 lines
556 B
Desktop File

[Unit]
Description=Collect koopa login-health snapshot (read-only probes)
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/login-health/README.md
# Best-effort: failures must not cascade
After=default.target
[Service]
Type=oneshot
# Snapshot only — never block login; login only cats ~/.local/state/…
ExecStart=%h/.local/bin/koopa-login-health collect
# Treat overall FAIL as success for the timer (we still wrote a snapshot)
SuccessExitStatus=0 1
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=6
[Install]
WantedBy=default.target