7c3d12c7de1c2d8efdefe09b02349e24106e36c6
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #295 from alexrinass/apache2-macports-plugin
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'