apricot-health/scripts/apricot-rail-mitigate-trigger
Natalie dafbabee41 feat(@packages/apricot-health): add power-fault monitoring and mitigation tools
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-17 23:18:47 -07:00

5 lines
264 B
Bash
Executable file

#!/usr/bin/env bash
# User-space shim invoked by the watchdog. Delegates to the root-owned
# apricot-rail-mitigate via sudoers (install.sh installs a NOPASSWD rule
# scoped to this one command).
exec sudo -n /var/opt/apricot-health/sbin/apricot-rail-mitigate "$@"