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:
parent
2a37d71bbe
commit
2f3da3d45f
30 changed files with 208 additions and 28 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue