Jump to content

Recommended Posts

Posted

<div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/03/remove-launchd-service.jpg" alt="remove-launchd-service" title="remove-launchd-service" width="620" height="201" class="aligncenter size-full wp-image-13641" /></p>

<p>The vast majority of Mac users won’t need to manually tweak launchd and launchctl, but there are times when you uninstall or stop using an app in <a href="http://osxdaily.com/category/mac-os-x/">Mac OS X</a> and a service agent continues to needlessly load in launchd. This is annoying, but these rogue agents are easy to remove via the <a href="http://osxdaily.com/category/command-line/">command line</a>, so launch Terminal and away we go.</p>

<p>To remove a service from launchd, use the following syntax with the launchctl command:</p>

<p><code>launchctl remove name</code></p>

<p>For example, if I want to remove a service named “com.annoying.service” the syntax would be:</p>

<p><code>launchctl remove com.annoying.service</code></p>

<p>You may need to prefix the command with sudo in order to remove the service, in this case the command would be:</p>

<p><code>sudo launchctl remove com.annoying.service</code></p>

<p>You can also check what’s loaded into launchd by using:</p>

<p><code>launchctl list</code></p>

<p>This command lists all agents and jobs loaded into launchd, allowing you to easily manipulate the agents that are running.</p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/hF1E4xYXIlxmDuc4IZz23wMc200/0/da"><img src="http://feedads.g.doubleclick.net/~a/hF1E4xYXIlxmDuc4IZz23wMc200/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/hF1E4xYXIlxmDuc4IZz23wMc200/1/da"><img src="http://feedads.g.doubleclick.net/~a/hF1E4xYXIlxmDuc4IZz23wMc200/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=U_j58Bh-CXc:ycKIPa3k698:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=U_j58Bh-CXc:ycKIPa3k698:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=U_j58Bh-CXc:ycKIPa3k698:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=U_j58Bh-CXc:ycKIPa3k698:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=U_j58Bh-CXc:ycKIPa3k698:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=U_j58Bh-CXc:ycKIPa3k698:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=U_j58Bh-CXc:ycKIPa3k698:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a>

</div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/U_j58Bh-CXc" height="1" width="1"/>

 

View the full article

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days


×
×
  • Create New...