Shammer's Philosophy

My private adversaria

launchctl command examples

In Mac OS X, using launchctl instead of init. This is a command of launchctl to use daemon process running on Mac OS X.

  • sudo launchctl list

This command lists up all daemon processes.

  • sudo launchctl start $LABEL

start $LABEL daemon process

  • sudo launchctl stop $LABEL

stop $LABEL daemon process
Reference site is A launchd Tutorial.