launchctl list
Fixes “nothing found to load”:
launchctl load -w -F [plist.file]
Will always run:
launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
launchctl start /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
launchctl stop /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
Unload and load a system service:
launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist
launchctl load /System/Library/LaunchDaemons/org.apache.httpd.plist