diff options
Diffstat (limited to 'plugins/apache2-macports')
-rw-r--r-- | plugins/apache2-macports/README.md | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/plugins/apache2-macports/README.md b/plugins/apache2-macports/README.md index 099fc8da3..dbf2e89a2 100644 --- a/plugins/apache2-macports/README.md +++ b/plugins/apache2-macports/README.md @@ -1,19 +1,21 @@ -## APACHE2 MACPORTS PLUGIN +# apache2-macports plugin +Enables aliases to control a local Apache2 installed via [MacPorts](https://www.macports.org/). ---- +To use it, add `apache2-macports` to the plugins array in your zshrc file: -### FEATURES +```zsh +plugins=(... apache2-macports) +``` -| Alias | Function | Description | -|:--------------:|:-------------------------------------------------------------------------------|----------------------:| -| apache2restart | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart | Restart apache daemon | -| apache2start | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start | Start apache daemon | -| apache2stop | sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop | Stop apache daemon | +## Aliases ---- +| Alias | Function | Description | +|----------------|-----------------------------------------|-----------------------| +| apache2restart | `sudo /path/to/apache2.wrapper restart` | Restart apache daemon | +| apache2start | `sudo /path/to/apache2.wrapper start` | Start apache daemon | +| apache2stop | `sudo /path/to/apache2.wrapper stop` | Stop apache daemon | -### CONTRIBUTORS - - Alexander Rinass (alex@rinass.net) +## Contributors ---- +- Alexander Rinass (alex@rinass.net) |