Last active
May 10, 2021 17:55
-
-
Save freshjones/e5557d2d70dce35a94e1 to your computer and use it in GitHub Desktop.
dnsmasq start and stop via macports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//stop service | |
sudo launchctl unload /Library/LaunchDaemons/org.macports.dnsmasq.plist | |
//stop service through reboots | |
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.dnsmasq.plist | |
//start service | |
sudo port load dnsmasq | |
//reload through reboots | |
sudo launchctl load -w /Library/LaunchDaemons/org.macports.dnsmasq.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discover the name of the service (any service):
Stop the service:
Start the service: