no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | launchctl [2014/09/19 20:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== launchctl ====== | ||
+ | * [[Darwin]] | ||
+ | * [[OS X]] | ||
+ | |||
+ | == Display what services are loaded == | ||
+ | |||
+ | < | ||
+ | launchctl list | ||
+ | </ | ||
+ | |||
+ | == Force a service to be launched == | ||
+ | |||
+ | Fixes " | ||
+ | |||
+ | < | ||
+ | launchctl load -w -F [plist.file] | ||
+ | </ | ||
+ | |||
+ | == Add to init services, and start == | ||
+ | |||
+ | Will always run: | ||
+ | |||
+ | < | ||
+ | launchctl load / | ||
+ | </ | ||
+ | |||
+ | == Remove from init system == | ||
+ | |||
+ | < | ||
+ | launchctl unload / | ||
+ | </ | ||
+ | |||
+ | == Start a service manually == | ||
+ | |||
+ | < | ||
+ | launchctl start / | ||
+ | </ | ||
+ | |||
+ | == Stop a service == | ||
+ | |||
+ | < | ||
+ | launchctl stop / | ||
+ | </ | ||
+ | |||
+ | ==== Apache ==== | ||
+ | |||
+ | Unload and load a system service: | ||
+ | |||
+ | < | ||
+ | launchctl unload / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | launchctl load / | ||
+ | </ |