Revert "Drop unrelated privileged heredoc scanner"

This reverts commit 4c23077f80.
This commit is contained in:
Ryan Hughes committed 2026-08-30 11:54:31 -04:00
1 parent 15f26cbe1b
commit 58c399de30
37 files changed
+1280 -2

No files matched your search

@@ -0,0 +1,11 @@
unit=omarchy-agent.service
# "/etc/systemd/system/$unit" is a path, but one anchored where root already
# owns everything, so paths=none is the truthful declaration -- the check must
# not demand paths=unit here.
# omarchy:heredoc-expands paths=none -- $unit is a unit name interpolated only into absolute /etc paths
cat >"/etc/systemd/system/$unit" <<UNIT
[Service]
ExecStart=/usr/bin/omarchy-agent
ExecStopPost=/usr/bin/rm -f /etc/systemd/system/$unit
UNIT