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