add dns-restart function

This commit is contained in:
Nick Nisi
2016-05-25 22:30:22 -05:00
parent 8b12345643
commit 1f14af4ef9

View File

@@ -39,6 +39,11 @@ function ng-restart() {
sudo launchctl start homebrew.mxcl.nginx
}
function dns-restart() {
sudo launchctl stop homebrew.mxcl.dnsmasq
sudo launchctl start homebrew.mxcl.dnsmasq
}
# Start an HTTP server from a directory, optionally specifying the port
function server() {