summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexander Rinass <alex@rinass.net>2011-04-20 15:54:51 +0200
committerAlexander Rinass <alex@rinass.net>2011-04-20 22:32:28 +0200
commit34f1944016a7671fe47aca99f18f25d19f6ff5dc (patch)
tree9ac2f9d5d00638f6e919aff6bbd20054e9d0ec71 /plugins
parent971b071dc67f423d8b2a6f476e1dd58819049f41 (diff)
downloadzsh-34f1944016a7671fe47aca99f18f25d19f6ff5dc.tar.gz
zsh-34f1944016a7671fe47aca99f18f25d19f6ff5dc.tar.bz2
zsh-34f1944016a7671fe47aca99f18f25d19f6ff5dc.zip
Added start/stop aliases for Apache 2 installation via macports.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/apache2-macports/apache2-macports.plugin.zsh6
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'