Skip to content

Instantly share code, notes, and snippets.

@fakemelvynkim
Created March 11, 2014 06:33
Show Gist options
  • Save fakemelvynkim/9480636 to your computer and use it in GitHub Desktop.
Save fakemelvynkim/9480636 to your computer and use it in GitHub Desktop.
Editing launchd in two ways
#!/bin/sh
#
# FIRST
#
# To load what's loading via launchd
launchctl list
# To kill and remove process from the list,
# launchctl remove name.of.process
#
# SECOND
#
# Kill all items in the process list by deleting
# rm /System/Library/LaunchDaemons/name.of.process.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment