add nginx shortcuts
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user