Es la lista de propiedades propiedad de root? Si es que no, no se carga en el inicio de sesión, incluso si launchctl load
(sin sudo) sería de carga.
$ sudo launchctl load /Library/LaunchAgents/test.plist
launchctl: Dubious ownership on file (skipping): /Library/LaunchAgents/test.plist
nothing found to load
$ sudo chown root /Library/LaunchAgents/test.plist
$ sudo launchctl load /Library/LaunchAgents/test.plist
$
Si el programa se debe ejecutar cuando la lista de propiedades está cargado, establecer RunAtLoad a true:
<key>RunAtLoad</key>
<true/>
También se puede usar normalmente /Library/LaunchAgents/ en lugar de /System/Library/LaunchAgents/. De man launchd
:
~/Library/LaunchAgents Per-user agents provided by the user.
/Library/LaunchAgents Per-user agents provided by the administrator.
/Library/LaunchDaemons System-wide daemons provided by the administrator.
/System/Library/LaunchAgents Per-user agents provided by Mac OS X.
/System/Library/LaunchDaemons System-wide daemons provided by Mac OS X.