Merge pull request #9002 from acrogenesis/remove-legacy-installer-privileged-files
Repair legacy paths and privileged files left by retired installers
(cherry picked from commit 943d2fcbe9)
This commit is contained in:
45 files changed
+3279
-8
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
|
||||
Reference in new issue
Block a user