Commit 91c125e
committed
fix: use user domain instead of gui for hm sops-nix launchd agent
Using gui/UID domain requires an Aqua GUI session, which is
unavailable on headless macOS servers. The user/UID domain is
available after any login (SSH or GUI) and works with the
Background session type.
- Set LimitLoadToSessionType = "Background" in the agent plist
- Change activation script domain-target from gui/ to user/1 parent f140661 commit 91c125e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
| 404 | + | |
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
| |||
410 | 412 | | |
411 | 413 | | |
412 | 414 | | |
413 | | - | |
| 415 | + | |
414 | 416 | | |
415 | 417 | | |
416 | 418 | | |
| |||
0 commit comments