![]() Hope most of this is still true in version 10.7 Lion as well. Sorry for the long post on this rather trivial issue. If i may recommend a graphical application for these LaunchAgents/ LaunchDaemons configuring tasks i'd like to promote (without any affiliation, other than developing nationality) Lingon (note the different (Snow) Leopard and Lion versions). ist(5) manual page at Apple's technical note #2083 on the subject (: "Last updated: ") The list of property list directives i was looking for i found referenced (appropriately enough) as the.On a side-note I can say that creating a LaunchAgent - for/with any other regular application - with RunAtLoad set to works great if you, like I, have an app (share-service) that crashes often. I also see now that i haven't backed my original up so i cannot see exactly what changes i've made.Īnyhow, it seems that the re-launching is removed (as expected) by setting KeepAlive in the Finder's launchctl(1)/ launchd(8) property list to īut, setting the RunAtLoad (again, to ) seems to have no effect (on the Finder as it probably is started ~hardcoded”). I haven't gotten to see the effect of this configuration (that feels more like a hack) that many times. I seldom restart my computer (and haven't had any much crashes with the Finder) so I wanted to prohibit, mostly the initial auto-starting but also, the automatic re-launching of the Finder (as a "simple" fix for decrypting encrypted disks) before the Finder would try (and fail) to load (and in that process discard) it's old (preferences'd) list of previous open locations. Is there anyway I can stop launchd continuously trying to load finder without restarting the machine? I have tried using launchctl to both remove and unload the process but that doesn't appear to work: $ sudo launchctl unload -w /System/Library/LaunchAgents/ The problem I have now is forcing launchd to reload the plist, and therefore stop trying to launch finder. ![]() So I edited /System/Library/LaunchAgents/ so that it would not launch anymore. ): Permission deniedĬom.502 () : Exited with exit code: 1 ![]() I have a machine on which I do not want finder to run, so initially I made it unexecutable: sudo chmod -R a-x /System/Library/CoreServices/Finder.appīut then realised that launchd was still trying to launch finder multiple times every second, resulting in colossal log files consisiting of millions of lines of: .502 () : posix_spawn("/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder".
0 Comments
Leave a Reply. |