summaryrefslogtreecommitdiff
path: root/plugins/apache2-macports
diff options
context:
space:
mode:
authorJames Smith <james@loopj.com>2011-08-01 00:44:51 -0700
committerJames Smith <james@loopj.com>2011-08-01 00:44:51 -0700
commit0ba398f9e1aaf05e72406d5c840f013eebb6b260 (patch)
tree66a866657780870fcfb338606ec92b29da82eb4c /plugins/apache2-macports
parenta15a8c4a98bc1aff024c3ef44dec48309ff4f90b (diff)
parenta738ca9b645c3cc53bdb01e8676202ceca449ccf (diff)
downloadzsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.tar.gz
zsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.tar.bz2
zsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.zip
Merge in recent stuff
Diffstat (limited to 'plugins/apache2-macports')
-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'