diff options
author | Robby Russell <robby@planetargon.com> | 2011-05-13 02:53:02 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-05-13 02:53:02 -0700 |
commit | 7c3d12c7de1c2d8efdefe09b02349e24106e36c6 (patch) | |
tree | a64be05e15a309eb1eaac70db333fcd8aeb2eae0 | |
parent | d275440219f5a3d7659606d41a05c78c2c286a7b (diff) | |
parent | 34f1944016a7671fe47aca99f18f25d19f6ff5dc (diff) | |
download | zsh-7c3d12c7de1c2d8efdefe09b02349e24106e36c6.tar.gz zsh-7c3d12c7de1c2d8efdefe09b02349e24106e36c6.tar.bz2 zsh-7c3d12c7de1c2d8efdefe09b02349e24106e36c6.zip |
Merge pull request #295 from alexrinass/apache2-macports-plugin
Added start/stop aliases for Apache 2 installation via macports.
-rw-r--r-- | plugins/apache2-macports/apache2-macports.plugin.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/apache2-macports/apache2-macports.plugin.zsh b/plugins/apache2-macports/apache2-macports.plugin.zsh new file mode 100644 index 000000000..1caa4cf9d --- /dev/null +++ b/plugins/apache2-macports/apache2-macports.plugin.zsh @@ -0,0 +1,6 @@ +# commands to control local apache2 server installation +# paths are for osx installation via macports + +alias apache2start='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start' +alias apache2stop='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop' +alias apache2restart='sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart' |