34f1944016a7671fe47aca99f18f25d19f6ff5dc
- Author
- Alexander Rinass <alex@rinass.net>
- Committer
- Alexander Rinass <alex@rinass.net>
- Date
Message
Added start/stop aliases for Apache 2 installation via macports.
Diff
1diff --git a/plugins/apache2-macports/apache2-macports.plugin.zsh b/plugins/apache2-macports/apache2-macports.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..1caa4cf9d11b318a59a7c5473c975c5c5833d103
4--- /dev/null
5+++ b/plugins/apache2-macports/apache2-macports.plugin.zsh
6@@ -0,0 +1,6 @@
7+# commands to control local apache2 server installation
8+# paths are for osx installation via macports
9+
10+alias apache2start='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start'
11+alias apache2stop='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop'
12+alias apache2restart='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart'