Q: How to remove service from launchd using launchctl
Hello ... I have removed an application called "Internet Everywhere" and noticed that my computer at start-up tried to launch this service anyways. Using console I identified that launchd access the file ˜/library/LaunchAgents/Internet Everywhere (there is a space between these words). Internet Everywhere appears as a service with status "1" in launchctl list.
I tried to initially using launchctl remove "Internet Everywhere" and the answer was that there was no such service. The I tried using launchctl unload and still no success:
MacBookProCV:~ valentin$ sudo launchctl unload /Users/valentin/Library/LaunchAgents/"Internet Everywhere"
launchctl: Dubious ownership on file (skipping): /Users/valentin/Library/LaunchAgents/Internet Everywhere
nothing found to unload
I guess I am overlooking something. Can you help me understanding what I have to do to remove this service?
Best regards
Valentin.
I tried to initially using launchctl remove "Internet Everywhere" and the answer was that there was no such service. The I tried using launchctl unload and still no success:
MacBookProCV:~ valentin$ sudo launchctl unload /Users/valentin/Library/LaunchAgents/"Internet Everywhere"
launchctl: Dubious ownership on file (skipping): /Users/valentin/Library/LaunchAgents/Internet Everywhere
nothing found to unload
I guess I am overlooking something. Can you help me understanding what I have to do to remove this service?
Best regards
Valentin.
MacBook Pro late-2007, Mac OS X (10.5.6), iSight, Airport Express, MacBook
Posted on Jan 19, 2009 5:23 AM
by Barney-15E,Solvedanswer
Mac OS X
Because it is in the LaunchAgents folder, the only thing you need to do is remove the folder in LaunchAgents folder. Launchd launches those items on log in. There is nothing to unload because it fails to load since the file cannot be found.
Posted on Jan 19, 2009 7:54 AM