Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I was reading through the launchctl man page and have a few questions about its functioning:

  • What is the difference between load and start, unload and stop?
  • Where do I find the job label for a daemon, is it in the plist file?
share|improve this question
add comment

1 Answer 1

Loading and unloading tells launchd to load the configuration file. Whether it runs the program and under what conditions is determined by the plist file. A job that isn't currently running can be started with launchctl start and stopped with launchctl stop.

The label for the job is defined by the label key, and the name of the plist should also be the job label followed by the plist extension.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.