launchd: fix user domain agents

User-domain agents need the Background session type to bootstrap into user/501, and activation should fail rather than silently unloading services when launchctl bootstrap fails.
This commit is contained in:
Austin Horstman 2026-06-30 23:17:56 -05:00
parent 2a37d71bbe
commit 2f3da3d45f
30 changed files with 208 additions and 28 deletions

View file

@ -4,6 +4,8 @@
<dict>
<key>Label</key>
<string>org.nix-community.home.git-maintenance-hourly</string>
<key>LimitLoadToSessionType</key>
<string>Background</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>