add nginx shortcuts

This commit is contained in:
Nick Nisi
2014-02-24 13:35:56 -06:00
parent 53b79a4638
commit a8b66d0ec9

View File

@@ -28,6 +28,17 @@ function f() {
find . -name "$1"
}
function ng-stop() {
sudo launchctl stop homebrew.mxcl.nginx
}
function ng-start() {
sudo launchctl start homebrew.mxcl.nginx
}
function ng-restart() {
sudo launchctl start homebrew.mxcl.nginx
}
# Start an HTTP server from a directory, optionally specifying the port
function server() {