2020-03-12 02:57:46 +08:00
|
|
|
# apache2-macports plugin
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
Enables aliases to control a local Apache2 installed via [MacPorts](https://www.macports.org/).
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
To use it, add `apache2-macports` to the plugins array in your zshrc file:
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
```zsh
|
|
|
|
plugins=(... apache2-macports)
|
|
|
|
```
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
## Aliases
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
| 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 |
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
## Contributors
|
2015-05-09 05:42:26 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
- Alexander Rinass (alex@rinass.net)
|