Under Yosemite (and El Capitan), the launch launchctl
utility changed.
For dnsmasq:
brew install dnsmasq
orbrew upgrade dnsmasq
sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons
- In
/usr/local/etc/dnsmasq.conf
add the lineaddress=/devel/127.0.0.1
(do NOT adddev
as this is now a top-level TLD) sudo launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
sudo launchctl enable system/homebrew.mxcl.dnsmasq
sudo launchctl kickstart -kp system/homebrew.mxcl.dnsmasq